@with_signature
:
- now exposes all options of
create_function
. Fixed #12. - now correctly sets the module name by default. Fixes #13
- now accepts
None
as the newfunc_signature
to declare that the signature is identical to the decorated function. This can be handy to just change the docstring or module name of a function for example. Fixes #15
create_function
and @with_signature
:
- New
modulename
parameter to override the module name. Fixes #14 - the handler is now available as a field of the generated function (under
__call_handler__
). Newaddhandler
parameter (default: True) controls this behaviour. Fixes #16
Misc:
- New goodie to manipulate signatures:
add_signature_parameters
. - Fixed dependencies for documentation auto-build.
See documentation page for details.