You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch to pydoc unifies the display of data
descriptors, including slots, properties, and custom
descriptors.
The changes are as follows:
* removed special handling of properties
* added special handling of data descriptors - All
data descriptors are grouped together in a section.
For each item, the attribute name and doc string, if
present, is displayed.
* disabled display of \_\_slots__ attribute - since
slots are descriptors, they are listed in the section
described above
A complementary change to Python will be to support
setting of doc strings on slots. The proposal is to
use dictionary values when __slots__ is a dictionary
object, as suggested in Guido's "Unifying types and
classes".
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: