Thanks to visit codestin.com Credit goes to github.com
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 66b7ae6 commit e122081Copy full SHA for e122081
Doc/library/types.rst
@@ -396,6 +396,10 @@ Standard names are defined for the following types:
396
data members which use standard conversion functions; it has the same purpose
397
as the :class:`property` type, but for classes defined in extension modules.
398
399
+ In addition, when a class is defined with a :attr:`~object.__slots__` attribute, then for
400
+ each slot, an instance of :class:`!MemberDescriptorType` will be added as an attribute
401
+ on the class. This allows the slot to appear in the class's :attr:`~object.__dict__`.
402
+
403
.. impl-detail::
404
405
In other implementations of Python, this type may be identical to
0 commit comments