You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
208 B
Python
14 lines
208 B
Python
2 years ago
|
import functools
|
||
|
|
||
|
|
||
|
def call(fn, *args, **kwargs):
|
||
|
fn(*args, **kwargs)
|
||
|
|
||
|
|
||
|
def entrypoint(f):
|
||
|
@functools.wraps(f)
|
||
|
def _(*args, **kwargs):
|
||
|
return f(*args, **kwargs)
|
||
|
|
||
|
return _
|