mirror of
https://github.com/python/cpython.git
synced 2025-08-14 22:01:08 +00:00
[3.12] gh-125674: Doc: Fix type of newfunc first parameter (GH-125675) (#128448)
(cherry picked from commit 616468b87b
)
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
0d3f4b6a2f
commit
d9e199b491
1 changed files with 2 additions and 2 deletions
|
@ -355,7 +355,7 @@ slot typedefs
|
|||
+-----------------------------+-----------------------------+----------------------+
|
||||
| :c:type:`newfunc` | .. line-block:: | :c:type:`PyObject` * |
|
||||
| | | |
|
||||
| | :c:type:`PyObject` * | |
|
||||
| | :c:type:`PyTypeObject` * | |
|
||||
| | :c:type:`PyObject` * | |
|
||||
| | :c:type:`PyObject` * | |
|
||||
+-----------------------------+-----------------------------+----------------------+
|
||||
|
@ -2610,7 +2610,7 @@ Slot Type typedefs
|
|||
|
||||
See :c:member:`~PyTypeObject.tp_free`.
|
||||
|
||||
.. c:type:: PyObject *(*newfunc)(PyObject *, PyObject *, PyObject *)
|
||||
.. c:type:: PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *)
|
||||
|
||||
See :c:member:`~PyTypeObject.tp_new`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue