[issue15582] Enhance inspect.getdoc to follow inheritance chains
Serhiy Storchaka
report at bugs.python.org
Sat Apr 4 11:53:49 CEST 2015
Serhiy Storchaka added the comment:
Changed test_enum to make buildbots green, but perhaps the docstring of Enum should be changed, because it now is used for all Enum subclasses that doesn't define a docstring explicitly. An alternative solution is to set __doc__ of Enum subclasses to an empty string if the docstring is not defined explicitly.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15582>
_______________________________________
More information about the Python-bugs-list
mailing list