Currently, the function decorator fails to preserve the docstring and call signature of the wrapped function.
While full call signature preservation is impossible with dynamically adapting default parameters, we could at least trap and modify the docstring so as to not be completely opaque.
Currently, the function decorator fails to preserve the docstring and call signature of the wrapped function.
While full call signature preservation is impossible with dynamically adapting default parameters, we could at least trap and modify the docstring so as to not be completely opaque.
The decorator package should be useful here.