[issue40257] Improve the use of __doc__ in pydoc

Vedran Čačić report at bugs.python.org
Tue Apr 14 03:20:09 EDT 2020


Vedran Čačić <vedgar at gmail.com> added the comment:

Ok, I get what you're saying. But if someone writes

    class B(A):
      # no docstring at all
      ...

    help(B)

they'll still get other elements of current help? Particularly, "Methods inherited from A" (with their docstrings)?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40257>
_______________________________________


More information about the Python-bugs-list mailing list