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 benjamin.peterson, eric.araujo, iritkatriel, r.david.murray, serhiy.storchaka, sir-sigurd, torsten, yselivanov
Date 2020-11-07.22:17:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604787457.33.0.12087696283.issue8488@roundup.psfhosted.org>
In-reply-to
Content
Actually there is no bug in not showing docstring for "data" and "non_data". "Doc of a data-descriptor." is the docstring of the type of the descriptor, not the descriptor itself. If it would be "Type of a data-descriptor." it would be more obvious. To output the docstring for descriptor you need to set the __doc__ attribute of the instance.

The original bug is fixed. The non data descriptor is now shown in the correct section. If it would have own docstring it would be shown.

But the data descriptor is shown in wrong section. It is not readonly.
History
Date User Action Args
2020-11-07 22:17:37serhiy.storchakasetrecipients: + serhiy.storchaka, benjamin.peterson, eric.araujo, r.david.murray, torsten, yselivanov, sir-sigurd, iritkatriel
2020-11-07 22:17:37serhiy.storchakasetmessageid: <1604787457.33.0.12087696283.issue8488@roundup.psfhosted.org>
2020-11-07 22:17:37serhiy.storchakalinkissue8488 messages
2020-11-07 22:17:37serhiy.storchakacreate