Skip to content

Commit 53bd224

Browse files
committed
remove __base__ explaination in the datamodel.rst
1 parent 01c2912 commit 53bd224

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Doc/reference/datamodel.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -982,16 +982,6 @@ Special attributes:
982982
:attr:`~object.__dict__`
983983
The dictionary containing the class's namespace.
984984

985-
:attr:`~class.__base__`
986-
``__base__`` corresponds to the :c:member:`~PyTypeObject.tp_base` in a
987-
type object. At the C level, Python has a single inheritance model
988-
that determines the memory layout of instances. There is a chain
989-
involving base classes that contribute to the instance layout.
990-
``__base__`` is the base class that is involved in that chain.
991-
992-
.. impl-detail::
993-
The behavior of the ``__base__`` attribute is dependent on the :term:`CPython` implementation.
994-
995985
:attr:`~class.__bases__`
996986
A tuple containing the base classes, in the order of
997987
their occurrence in the base class list.

0 commit comments

Comments
 (0)