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 xtreak
Recipients McSinyx, docs@python, rhettinger, xtreak
Date 2019-12-23.16:37:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Currently docstring written for even property.setter is ignored in help as inspect.getdoc only inspects property.fget [0] for docstrings. I feel docs for setter could also be included. The docs also indicate the same at . In the absence of docs maybe the signature for getter and setter could be included as per this proposal.

class Foo:
    def bar(self) -> int:
        '''Bar docs for property'''
        return 42

    def bar(self, value: int) -> None:
        '''Bar docs for setter'''


Help on property:

    Bar docs for property

Date User Action Args
2019-12-23 16:37:13xtreaksetrecipients: + xtreak, rhettinger, docs@python, McSinyx
2019-12-23 16:37:13xtreaksetmessageid: <>
2019-12-23 16:37:13xtreaklinkissue39125 messages
2019-12-23 16:37:13xtreakcreate