[issue29940] Add follow_wrapped=True option to help()
Emmanuel Arias
report at bugs.python.org
Fri Sep 25 20:24:49 EDT 2020
Emmanuel Arias <eamanu at yaerobi.com> added the comment:
Hi @taleinat,
Seems tha the wrapped func already has the __doc__ (in this case) copied.
following your example:
>>> double
<test.Deco object at 0x7fe8d1fd5b20>
>>> double.__doc__
'A function'
so help(double) will print correctly the double doc.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29940>
_______________________________________
More information about the Python-bugs-list
mailing list