cpython: 7ef5b02b228a (original) (raw)
Mercurial > cpython
changeset 105966:7ef5b02b228a 3.6
Issue #29012: Merge from 3.5 [#29012]
Berker Peksag berker.peksag@gmail.com | |
---|---|
date | Tue, 03 Jan 2017 03:35:49 +0300 |
parents | b7f248eae2bc(current diff)1aba7cbbcc27(diff) |
children | f05165a9cae6 7cbcee0c53e3 |
files | Doc/reference/datamodel.rst |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-)[+] [-] Doc/reference/datamodel.rst 9 |
line wrap: on
line diff
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -788,11 +788,10 @@ Custom classes
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
dictionary containing the class's namespace; :attr:~class.__bases__
is a
- tuple (possibly a singleton) containing the base classes, in the
- order of their occurrence in the base class list; :attr:
__doc__
is the - class's documentation string, or
None
if undefined; - :attr:
__annotations__
(optional) is a dictionary containing - :term:
variable annotations <variable annotation>
collected during
- tuple containing the base classes, in the order of their occurrence in the
- base class list; :attr:
__doc__
is the class's documentation string, - or
None
if undefined; :attr:__annotations__
(optional) is a dictionary - containing :term:
variable annotations <variable annotation>
collected during class body execution.