Skip to content

Commit c915f00

Browse files
docs: fix ssizeobjargproc parameters (GH-100736)
(cherry picked from commit 5fb1c08) Co-authored-by: David Lechner <[email protected]>
1 parent ad40764 commit c915f00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/c-api/typeobj.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ slot typedefs
450450
| | | |
451451
| | :c:type:`PyObject` * | |
452452
| | :c:type:`Py_ssize_t` | |
453+
| | :c:type:`PyObject` * | |
453454
+-----------------------------+-----------------------------+----------------------+
454455
| :c:type:`objobjproc` | .. line-block:: | int |
455456
| | | |
@@ -2589,7 +2590,7 @@ Slot Type typedefs
25892590
25902591
.. c:type:: PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t)
25912592
2592-
.. c:type:: int (*ssizeobjargproc)(PyObject *, Py_ssize_t)
2593+
.. c:type:: int (*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *)
25932594
25942595
.. c:type:: int (*objobjproc)(PyObject *, PyObject *)
25952596

0 commit comments

Comments
 (0)