module documentation
Function decorate Decorates a function/generator/coroutine using a caller. If kwsyntax is True calling the decorated functions with keyword syntax will pass the named arguments inside the kw dictionary, even if such argument are positional, similarly to what functools...
Function decorator decorator(caller) converts a caller function into a decorator
Function fix Fix args and kwargs to be consistent with the signature
Constant DEF Undocumented
Variable __version__ Undocumented
def decorate(func, caller, extras=(), kwsyntax=False): (source)

Decorates a function/generator/coroutine using a caller. If kwsyntax is True calling the decorated functions with keyword syntax will pass the named arguments inside the kw dictionary, even if such argument are positional, similarly to what functools.wraps does. By default kwsyntax is False and the the arguments are untouched.

def decorator(caller, _func=None, kwsyntax=False): (source)

decorator(caller) converts a caller function into a decorator

def fix(args, kwargs, sig): (source)

Fix args and kwargs to be consistent with the signature

Undocumented

Value
re.compile(r'\s*def\s*([_\w][_\w\d]*)\s*\(')
__version__: str = (source)

Undocumented