From 7004384d1ccbfa5ec95b53540fb8994c228a6cc8 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Wed, 25 Sep 2024 15:44:13 -0700 Subject: [PATCH] fixup --- Doc/reference/datamodel.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index dee84bbdab202a..f8f626ae4ad19f 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1006,11 +1006,8 @@ Special attributes * - .. attribute:: type.__annotations__ - A dictionary containing :term:`variable annotations ` - collected during class body execution. See also: - :attr:`__annotations__ attributes `. - - For best practices on working with :attr:`~object.__annotations__`, - please see :ref:`annotations-howto`. + collected during class body execution. For best practices on working + with :attr:`!__annotations__`, please see :ref:`annotations-howto`. * - .. attribute:: type.__type_params__ - A :class:`tuple` containing the :ref:`type parameters ` of @@ -1018,6 +1015,10 @@ Special attributes .. versionadded:: 3.12 + * - .. attribute:: type.__mro__ + - The :class:`tuple` of classes that are considered when looking for + base classes during method resolution. + Special methods ^^^^^^^^^^^^^^^