[Python-checkins] docs: fix `ssizeobjargproc` parameters (GH-100736)

miss-islington webhook-mailer at python.org
Wed Jan 4 10:40:13 EST 2023


https://github.com/python/cpython/commit/c915f00ecaa1bf8adb3a4aa6aed4c3aaa95f8d8c
commit: c915f00ecaa1bf8adb3a4aa6aed4c3aaa95f8d8c
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-01-04T07:40:06-08:00
summary:

docs: fix `ssizeobjargproc` parameters (GH-100736)

(cherry picked from commit 5fb1c08e15b864d8ea9353a0e013166e2e0e2160)

Co-authored-by: David Lechner <david at lechnology.com>

files:
M Doc/c-api/typeobj.rst

diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index dc82620cc3ba..aa2de3344778 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 *)
 



More information about the Python-checkins mailing list