[New-bugs-announce] [issue41287] __doc__ attribute is not set in property-derived classes

Sergei Izmailov report at bugs.python.org
Sun Jul 12 16:34:43 EDT 2020


New submission from Sergei Izmailov <sergei.a.izmailov at gmail.com>:

MRE: 

class Property(property):
    pass

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

Expected: 
hello

Actual:
None

----------
messages: 373571
nosy: Sergei Izmailov
priority: normal
severity: normal
status: open
title: __doc__ attribute is not set in property-derived classes

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


More information about the New-bugs-announce mailing list