From 4f25e282ada8b9a4ae2aa56c4b16eaa9baad458a Mon Sep 17 00:00:00 2001 From: Oleg Iarygin Date: Fri, 13 Sep 2024 22:35:08 +0400 Subject: [PATCH] gh-100554: Fix formatting of type.rst modifications (#124066) --- 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