This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eamanu
Recipients eamanu, rhettinger, samwyse, taleinat
Date 2020-09-26.00:24:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2020-09-26 00:24:49eamanusetrecipients: + eamanu, rhettinger, taleinat, samwyse
2020-09-26 00:24:49eamanusetmessageid: <>
2020-09-26 00:24:49eamanulinkissue29940 messages
2020-09-26 00:24:48eamanucreate