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 Sergei Izmailov
Recipients Sergei Izmailov, rhettinger, xtreak
Date 2020-07-14.07:19:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594711165.92.0.234153488351.issue41287@roundup.psfhosted.org>
In-reply-to
Content
class Property(property):
    'custom docstring'

print(Property(None, None, None, "hello").__doc__)

This snippet is expected to print "hello" as well (at least it's what comment in cpython implementation suggests) 

https://github.com/python/cpython/blob/master/Objects/descrobject.c#L1712-L1715
History
Date User Action Args
2020-07-14 07:19:25Sergei Izmailovsetrecipients: + Sergei Izmailov, rhettinger, xtreak
2020-07-14 07:19:25Sergei Izmailovsetmessageid: <1594711165.92.0.234153488351.issue41287@roundup.psfhosted.org>
2020-07-14 07:19:25Sergei Izmailovlinkissue41287 messages
2020-07-14 07:19:25Sergei Izmailovcreate