summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2023-01-04 08:17:42 (GMT)
committerGitHub <noreply@github.com>2023-01-04 08:17:42 (GMT)
commit5fb1c08e15b864d8ea9353a0e013166e2e0e2160 (patch)
treedc39f3a2e1cd5c3c9d32a4802ba8e93535634567 /Doc
parentba8dcdbcab5fd9989be6c9a51002394e782c463c (diff)
downloadcpython-5fb1c08e15b864d8ea9353a0e013166e2e0e2160.zip
cpython-5fb1c08e15b864d8ea9353a0e013166e2e0e2160.tar.gz
cpython-5fb1c08e15b864d8ea9353a0e013166e2e0e2160.tar.bz2
docs: fix `ssizeobjargproc` parameters (#100736)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/typeobj.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 016a92f..644830b 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -452,6 +452,7 @@ slot typedefs
| | | |
| | :c:type:`PyObject` * | |
| | :c:type:`Py_ssize_t` | |
+| | :c:type:`PyObject` * | |
+-----------------------------+-----------------------------+----------------------+
| :c:type:`objobjproc` | .. line-block:: | int |
| | | |
@@ -2633,7 +2634,7 @@ Slot Type typedefs
.. c:type:: PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t)
-.. c:type:: int (*ssizeobjargproc)(PyObject *, Py_ssize_t)
+.. c:type:: int (*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *)
.. c:type:: int (*objobjproc)(PyObject *, PyObject *)