summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorOleg Iarygin <oleg@arhadthedev.net>2024-09-13 18:35:08 (GMT)
committerGitHub <noreply@github.com>2024-09-13 18:35:08 (GMT)
commit4f25e282ada8b9a4ae2aa56c4b16eaa9baad458a (patch)
tree56fef25df03244e17c6c6f8ab3160445228c2541 /Doc
parenteadb9660ed836b40667d4f662eae90287ff18397 (diff)
downloadcpython-4f25e282ada8b9a4ae2aa56c4b16eaa9baad458a.zip
cpython-4f25e282ada8b9a4ae2aa56c4b16eaa9baad458a.tar.gz
cpython-4f25e282ada8b9a4ae2aa56c4b16eaa9baad458a.tar.bz2
gh-100554: Fix formatting of type.rst modifications (#124066)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/type.rst11
1 files changed, 5 insertions, 6 deletions
diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst
index 04aaf7f..b25a407 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 <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