Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue8488>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to