gh-100554: Fix formatting of type.rst modifications (#124066)

This commit is contained in:
Oleg Iarygin 2024-09-13 22:35:08 +04:00 committed by GitHub
parent eadb9660ed
commit 4f25e282ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 6 deletions

View 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 The following internal fields cannot be set at all when creating a heap
type: type:
* Internal fields: * :c:member:`~PyTypeObject.tp_dict`,
:c:member:`~PyTypeObject.tp_dict`,
:c:member:`~PyTypeObject.tp_mro`, :c:member:`~PyTypeObject.tp_mro`,
:c:member:`~PyTypeObject.tp_cache`, :c:member:`~PyTypeObject.tp_cache`,
:c:member:`~PyTypeObject.tp_subclasses`, and :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 :c:member:`~PyBufferProcs.bf_releasebuffer` are now available
under the :ref:`limited API <limited-c-api>`. under the :ref:`limited API <limited-c-api>`.
.. versionchanged:: 3.14 .. versionchanged:: 3.14
The field :c:member:`~PyTypeObject.tp_vectorcall` can now set The field :c:member:`~PyTypeObject.tp_vectorcall` can now set
using ``Py_tp_vectorcall``. See the field's documentation using ``Py_tp_vectorcall``. See the field's documentation
for details. for details.
.. c:member:: void *pfunc .. c:member:: void *pfunc