Message377513
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:49 | eamanu | set | recipients:
+ eamanu, rhettinger, taleinat, samwyse |
2020-09-26 00:24:49 | eamanu | set | messageid: <1601079889.1.0.846197050974.issue29940@roundup.psfhosted.org> |
2020-09-26 00:24:49 | eamanu | link | issue29940 messages |
2020-09-26 00:24:48 | eamanu | create | |
|