Skip to content

Commit 5784acd

Browse files
[3.12] tp_flags docs: fix indentation (GH-106420) (#106442)
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent 6f68404 commit 5784acd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Doc/c-api/typeobj.rst

+9-9
Original file line numberDiff line numberDiff line change
@@ -1143,27 +1143,27 @@ and :c:type:`PyType_Type` effectively act as defaults.)
11431143
:const:`Py_TPFLAGS_IMMUTABLETYPE` flag set. For extension types, it is
11441144
inherited whenever :c:member:`~PyTypeObject.tp_descr_get` is inherited.
11451145

1146-
.. data:: Py_TPFLAGS_MANAGED_DICT
1146+
.. data:: Py_TPFLAGS_MANAGED_DICT
11471147

1148-
This bit indicates that instances of the class have a ``__dict__``
1149-
attribute, and that the space for the dictionary is managed by the VM.
1148+
This bit indicates that instances of the class have a ``__dict__``
1149+
attribute, and that the space for the dictionary is managed by the VM.
11501150

1151-
If this flag is set, :const:`Py_TPFLAGS_HAVE_GC` should also be set.
1151+
If this flag is set, :const:`Py_TPFLAGS_HAVE_GC` should also be set.
11521152

1153-
.. versionadded:: 3.12
1153+
.. versionadded:: 3.12
11541154

11551155
**Inheritance:**
11561156

11571157
This flag is inherited unless the
11581158
:c:member:`~PyTypeObject.tp_dictoffset` field is set in a superclass.
11591159

11601160

1161-
.. data:: Py_TPFLAGS_MANAGED_WEAKREF
1161+
.. data:: Py_TPFLAGS_MANAGED_WEAKREF
11621162

1163-
This bit indicates that instances of the class should be weakly
1164-
referenceable.
1163+
This bit indicates that instances of the class should be weakly
1164+
referenceable.
11651165

1166-
.. versionadded:: 3.12
1166+
.. versionadded:: 3.12
11671167

11681168
**Inheritance:**
11691169

0 commit comments

Comments
 (0)