diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-01-04 15:36:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-04 15:36:44 (GMT) |
commit | 8b023134bde5cf861d7242f03885e9bb442c2955 (patch) | |
tree | 6b61c5a2e2873d0e7ecf198d360cde858b33bbca | |
parent | 35a010f1f92e272561f4aaf5918215c4953bce91 (diff) | |
download | cpython-8b023134bde5cf861d7242f03885e9bb442c2955.zip cpython-8b023134bde5cf861d7242f03885e9bb442c2955.tar.gz cpython-8b023134bde5cf861d7242f03885e9bb442c2955.tar.bz2 |
docs: fix `ssizeobjargproc` parameters (GH-100736)
(cherry picked from commit 5fb1c08e15b864d8ea9353a0e013166e2e0e2160)
Co-authored-by: David Lechner <david@lechnology.com>
-rw-r--r-- | Doc/c-api/typeobj.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 53062e1..937f52b 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 | | | | | @@ -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 *) |