]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
docs: fix `ssizeobjargproc` parameters (GH-100736)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 4 Jan 2023 15:36:44 +0000 (07:36 -0800)
committerGitHub <noreply@github.com>
Wed, 4 Jan 2023 15:36:44 +0000 (07:36 -0800)
(cherry picked from commit 5fb1c08e15b864d8ea9353a0e013166e2e0e2160)

Co-authored-by: David Lechner <david@lechnology.com>
Doc/c-api/typeobj.rst

index 53062e1d651b404ee908977d7038102dc5fa485d..937f52b07329017f3047ce321da3350ba80e57f7 100644 (file)
@@ -450,6 +450,7 @@ slot typedefs
 |                             |                             |                      |
 |                             |    :c:type:`PyObject` *     |                      |
 |                             |    :c:type:`Py_ssize_t`     |                      |
+|                             |    :c:type:`PyObject` *     |                      |
 +-----------------------------+-----------------------------+----------------------+
 | :c:type:`objobjproc`        | .. line-block::             | int                  |
 |                             |                             |                      |
@@ -2595,7 +2596,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 *)