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 berker.peksag, daniel.urban, grahamd, gvanrossum, ionelmc, pitrou, rhettinger, serhiy.storchaka
Date 2016-05-05.19:28:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462476519.34.0.981097624863.issue19072@psf.upfronthosting.co.za>
In-reply-to
Content
With the patch class properties work:

>>> class A:
...     @classmethod
...     @property
...     def __doc__(cls):
...         return 'A doc for %r' % cls.__name__
... 
>>> A.__doc__
"A doc for 'A'"

This is worth to be explicitly documented.
History
Date User Action Args
2016-05-05 19:28:39serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, rhettinger, pitrou, grahamd, ionelmc, daniel.urban, berker.peksag
2016-05-05 19:28:39serhiy.storchakasetmessageid: <1462476519.34.0.981097624863.issue19072@psf.upfronthosting.co.za>
2016-05-05 19:28:39serhiy.storchakalinkissue19072 messages
2016-05-05 19:28:39serhiy.storchakacreate