[issue23217] help() function incorrectly captures comment preceding a nested function

Gwenlliana report at bugs.python.org
Sun Jan 18 21:41:26 CET 2015


Gwenlliana added the comment:

Though standard library contains a workaround on the decorator issue (functools.wraps), but it still failed to patch func_code.co_firstlineno, which led the pydoc module to capture the wrong comment.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23217>
_______________________________________


More information about the Python-bugs-list mailing list