[Python-checkins] tp_flags docs: fix indentation (#106420)
hauntsaninja
webhook-mailer at python.org
Wed Jul 5 01:08:29 EDT 2023
https://github.com/python/cpython/commit/ad075682ba49c3d90cb9b09341f8bf2ea56761d8
commit: ad075682ba49c3d90cb9b09341f8bf2ea56761d8
branch: main
author: Jelle Zijlstra <jelle.zijlstra at gmail.com>
committer: hauntsaninja <12621235+hauntsaninja at users.noreply.github.com>
date: 2023-07-05T05:08:25Z
summary:
tp_flags docs: fix indentation (#106420)
files:
M Doc/c-api/typeobj.rst
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index c6e783acdf065..239c191457f51 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -1143,14 +1143,14 @@ and :c:type:`PyType_Type` effectively act as defaults.)
:const:`Py_TPFLAGS_IMMUTABLETYPE` flag set. For extension types, it is
inherited whenever :c:member:`~PyTypeObject.tp_descr_get` is inherited.
- .. data:: Py_TPFLAGS_MANAGED_DICT
+ .. data:: Py_TPFLAGS_MANAGED_DICT
- This bit indicates that instances of the class have a ``__dict__``
- attribute, and that the space for the dictionary is managed by the VM.
+ This bit indicates that instances of the class have a ``__dict__``
+ attribute, and that the space for the dictionary is managed by the VM.
- If this flag is set, :const:`Py_TPFLAGS_HAVE_GC` should also be set.
+ If this flag is set, :const:`Py_TPFLAGS_HAVE_GC` should also be set.
- .. versionadded:: 3.12
+ .. versionadded:: 3.12
**Inheritance:**
@@ -1158,12 +1158,12 @@ and :c:type:`PyType_Type` effectively act as defaults.)
:c:member:`~PyTypeObject.tp_dictoffset` field is set in a superclass.
- .. data:: Py_TPFLAGS_MANAGED_WEAKREF
+ .. data:: Py_TPFLAGS_MANAGED_WEAKREF
- This bit indicates that instances of the class should be weakly
- referenceable.
+ This bit indicates that instances of the class should be weakly
+ referenceable.
- .. versionadded:: 3.12
+ .. versionadded:: 3.12
**Inheritance:**
More information about the Python-checkins
mailing list