From: David Lechner Date: Wed, 4 Jan 2023 08:17:42 +0000 (-0600) Subject: docs: fix `ssizeobjargproc` parameters (#100736) X-Git-Tag: v3.12.0a4~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5fb1c08e15b864d8ea9353a0e013166e2e0e2160;p=thirdparty%2FPython%2Fcpython.git docs: fix `ssizeobjargproc` parameters (#100736) --- diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 016a92f11dbd..644830b940b4 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 *)