On Tue, Dec 13, 2011 at 6:36 AM, Henrik Faber wrote:
> Hi group,
>
> when decorating a method in Python3, by use of the
> functools.update_wrapper function, it can be achieved that the docstring
> and name of the original function is preseverved.
>
> However, the prototype is lost: When looking in
Hi group,
when decorating a method in Python3, by use of the
functools.update_wrapper function, it can be achieved that the docstring
and name of the original function is preseverved.
However, the prototype is lost: When looking into the Python help, I
have lots of entries that look like:
getfoo