Skip to content

Commit

Permalink
pythongh-100554: Fix formatting of type.rst modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
arhadthedev authored Sep 13, 2024
1 parent 9f42b62 commit 3ddcddd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Doc/c-api/type.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3ddcddd

Please sign in to comment.