diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2023-07-05 05:08:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-05 05:08:25 (GMT) |
commit | ad075682ba49c3d90cb9b09341f8bf2ea56761d8 (patch) | |
tree | 07fbdef8fb760ff78fd07ce984a373d76f49be5b | |
parent | 7bb9fa5ae486912d5d0a9372f213ba6a72c4cde1 (diff) | |
download | cpython-ad075682ba49c3d90cb9b09341f8bf2ea56761d8.zip cpython-ad075682ba49c3d90cb9b09341f8bf2ea56761d8.tar.gz cpython-ad075682ba49c3d90cb9b09341f8bf2ea56761d8.tar.bz2 |
tp_flags docs: fix indentation (#106420)
-rw-r--r-- | Doc/c-api/typeobj.rst | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index c6e783a..239c191 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:** |