From 3ddcddd8c885e8deacb06b1eb2cbb1b31af88bac Mon Sep 17 00:00:00 2001 From: Oleg Iarygin Date: Fri, 13 Sep 2024 22:01:33 +0400 Subject: [PATCH] gh-100554: Fix formatting of type.rst modifications --- Doc/c-api/type.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst index 04aaf7f46f2e3c..b25a407964be8d 100644 --- a/Doc/c-api/type.rst +++ b/Doc/c-api/type.rst @@ -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 `. - .. 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