summaryrefslogtreecommitdiffstats
path: root/Doc/extending/extending.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-02-11 10:23:30 (GMT)
committerGitHub <noreply@github.com>2024-02-11 10:23:30 (GMT)
commit573acb30f22a84c0f2c951efa002c9946e29b6a3 (patch)
tree195c75ff795a507cb6ebacf7043e364949601b10 /Doc/extending/extending.rst
parent4a08e7b3431cd32a0daf22a33421cd3035343dc4 (diff)
downloadcpython-573acb30f22a84c0f2c951efa002c9946e29b6a3.zip
cpython-573acb30f22a84c0f2c951efa002c9946e29b6a3.tar.gz
cpython-573acb30f22a84c0f2c951efa002c9946e29b6a3.tar.bz2
gh-115172: Fix explicit index extries for the C API (GH-115173)
Diffstat (limited to 'Doc/extending/extending.rst')
-rw-r--r--Doc/extending/extending.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst
index 745fc10..b70e1b1 100644
--- a/Doc/extending/extending.rst
+++ b/Doc/extending/extending.rst
@@ -547,7 +547,7 @@ reference count of an object and are safe in the presence of ``NULL`` pointers
(but note that *temp* will not be ``NULL`` in this context). More info on them
in section :ref:`refcounts`.
-.. index:: single: PyObject_CallObject()
+.. index:: single: PyObject_CallObject (C function)
Later, when it is time to call the function, you call the C function
:c:func:`PyObject_CallObject`. This function has two arguments, both pointers to
@@ -638,7 +638,7 @@ the above example, we use :c:func:`Py_BuildValue` to construct the dictionary. :
Extracting Parameters in Extension Functions
============================================
-.. index:: single: PyArg_ParseTuple()
+.. index:: single: PyArg_ParseTuple (C function)
The :c:func:`PyArg_ParseTuple` function is declared as follows::
@@ -730,7 +730,7 @@ Some example calls::
Keyword Parameters for Extension Functions
==========================================
-.. index:: single: PyArg_ParseTupleAndKeywords()
+.. index:: single: PyArg_ParseTupleAndKeywords (C function)
The :c:func:`PyArg_ParseTupleAndKeywords` function is declared as follows::