]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-100554: Fix formatting of type.rst modifications (#124066)
authorOleg Iarygin <oleg@arhadthedev.net>
Fri, 13 Sep 2024 18:35:08 +0000 (22:35 +0400)
committerGitHub <noreply@github.com>
Fri, 13 Sep 2024 18:35:08 +0000 (18:35 +0000)
Doc/c-api/type.rst

index 04aaf7f46f2e3c3218a9aaf22b80912c74839bef..b25a407964be8d8948656d9f4d48468c7b4ba13d 100644 (file)
@@ -507,8 +507,7 @@ The following functions and structs are used to create
       The following internal fields cannot be set at all when creating a heap
       type:
 
-      * Internal fields:
-        :c:member:`~PyTypeObject.tp_dict`,
+      * :c:member:`~PyTypeObject.tp_dict`,
         :c:member:`~PyTypeObject.tp_mro`,
         :c:member:`~PyTypeObject.tp_cache`,
         :c:member:`~PyTypeObject.tp_subclasses`, and
@@ -528,11 +527,11 @@ The following functions and structs are used to create
         :c:member:`~PyBufferProcs.bf_releasebuffer` are now available
         under the :ref:`limited API <limited-c-api>`.
 
-      .. versionchanged:: 3.14
+     .. versionchanged:: 3.14
 
-         The field :c:member:`~PyTypeObject.tp_vectorcall` can now set
-         using ``Py_tp_vectorcall``.  See the field's documentation
-         for details.
+        The field :c:member:`~PyTypeObject.tp_vectorcall` can now set
+        using ``Py_tp_vectorcall``.  See the field's documentation
+        for details.
 
    .. c:member:: void *pfunc