Functools (utilipy.utils.functools
)¶
Reference/API¶
utilipy.utils.functools Module¶
Added functionality to functools
.
Routine Listings¶
makeFunction
make a function from an existing code object.
copy_function
Copy a function.
update_wrapper
this overrides the default
functools
update_wrapper
and adds signature and docstring overridingwraps
overrides the default
functools
update_wrapper
and adds signature and docstring overriding
References¶
Some functions modified from https://docs.python.org/3/library/functools.html
Notes¶
Todo
improve makeFunction
call signature
test makeFunction
-made function speeds
todo make partial respect signature