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

kumaraditya303 webhook-mailer at python.org
Wed Jan 4 03:17:49 EST 2023


https://github.com/python/cpython/commit/5fb1c08e15b864d8ea9353a0e013166e2e0e2160
commit: 5fb1c08e15b864d8ea9353a0e013166e2e0e2160
branch: main
author: David Lechner <david at lechnology.com>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2023-01-04T13:47:42+05:30
summary:

docs: fix `ssizeobjargproc` parameters (#100736)

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

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 *)
 



More information about the Python-checkins mailing list