mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Issue #29012: Merge from 3.5
This commit is contained in:
commit
a22457ecaf
1 changed files with 1 additions and 1 deletions
|
|
@ -788,7 +788,7 @@ Custom classes
|
||||||
Special attributes: :attr:`~definition.__name__` is the class name; :attr:`__module__` is
|
Special attributes: :attr:`~definition.__name__` is the class name; :attr:`__module__` is
|
||||||
the module name in which the class was defined; :attr:`~object.__dict__` is the
|
the module name in which the class was defined; :attr:`~object.__dict__` is the
|
||||||
dictionary containing the class's namespace; :attr:`~class.__bases__` is a
|
dictionary containing the class's namespace; :attr:`~class.__bases__` is a
|
||||||
tuple (possibly empty or a singleton) containing the base classes, in the
|
tuple (possibly a singleton) containing the base classes, in the
|
||||||
order of their occurrence in the base class list; :attr:`__doc__` is the
|
order of their occurrence in the base class list; :attr:`__doc__` is the
|
||||||
class's documentation string, or ``None`` if undefined;
|
class's documentation string, or ``None`` if undefined;
|
||||||
:attr:`__annotations__` (optional) is a dictionary containing
|
:attr:`__annotations__` (optional) is a dictionary containing
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue