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 serhiy.storchaka
Recipients serhiy.storchaka, yselivanov
Date 2018-10-12.15:50:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Pydoc supports aliases. If the alias is defined in the same class

    class A:
        def foo(self, x=42): pass
        bar = foo

it will render the docstring only for the original function. For the alias it will output just "bar = foo(self, x=42)".

But this doesn't work if the original function or alias are inherited. It often happened in the tkinter and turtle modules which have a hierarchy of classes, and aliases defined in parent classes. Compare for example the rendering for methods itemconfig and lift in help(tkinter.Listbox).

The proposed PR makes pydoc detecting aliases for inherited methods.
Date User Action Args
2018-10-12 15:50:11serhiy.storchakasetrecipients: + serhiy.storchaka, yselivanov
2018-10-12 15:50:11serhiy.storchakasetmessageid: <>
2018-10-12 15:50:11serhiy.storchakalinkissue34966 messages
2018-10-12 15:50:11serhiy.storchakacreate