We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 191531f commit 6888cccCopy full SHA for 6888ccc
Doc/library/types.rst
@@ -398,6 +398,10 @@ Standard names are defined for the following types:
398
data members which use standard conversion functions; it has the same purpose
399
as the :class:`property` type, but for classes defined in extension modules.
400
401
+ In addition, when a class is defined with a :attr:`~object.__slots__` attribute, then for
402
+ each slot, an instance of :class:`!MemberDescriptorType` will be added as an attribute
403
+ on the class. This allows the slot to appear in the class's :attr:`~object.__dict__`.
404
+
405
.. impl-detail::
406
407
In other implementations of Python, this type may be identical to
0 commit comments