summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-01-04 15:40:06 (GMT)
committerGitHub <noreply@github.com>2023-01-04 15:40:06 (GMT)
commitc915f00ecaa1bf8adb3a4aa6aed4c3aaa95f8d8c (patch)
tree6d0702a4be79e35e387fec336d23b94d13f19109 /Doc/c-api
parentad40764f5b1e0a11a8b4a30b7ce2dacc20fda12f (diff)
downloadcpython-c915f00ecaa1bf8adb3a4aa6aed4c3aaa95f8d8c.zip
cpython-c915f00ecaa1bf8adb3a4aa6aed4c3aaa95f8d8c.tar.gz
cpython-c915f00ecaa1bf8adb3a4aa6aed4c3aaa95f8d8c.tar.bz2
docs: fix `ssizeobjargproc` parameters (GH-100736)
(cherry picked from commit 5fb1c08e15b864d8ea9353a0e013166e2e0e2160) Co-authored-by: David Lechner <david@lechnology.com>
Diffstat (limited to 'Doc/c-api')
-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 dc82620..aa2de33 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -450,6 +450,7 @@ slot typedefs
| | | |
| | :c:type:`PyObject` * | |
| | :c:type:`Py_ssize_t` | |
+| | :c:type:`PyObject` * | |
+-----------------------------+-----------------------------+----------------------+
| :c:type:`objobjproc` | .. line-block:: | int |
| | | |
@@ -2589,7 +2590,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 *)