mirror of https://github.com/python/cpython
gh-125674: Doc: Fix type of `newfunc` first parameter (GH-125675)
* gh-125674: Doc: Fix type of `newfunc` first parameter * fixup! gh-125674: Doc: Fix type of `newfunc` first parameter --------- Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
5768fef355
commit
616468b87b
|
@ -355,7 +355,7 @@ slot typedefs
|
||||||
+-----------------------------+-----------------------------+----------------------+
|
+-----------------------------+-----------------------------+----------------------+
|
||||||
| :c:type:`newfunc` | .. line-block:: | :c:type:`PyObject` * |
|
| :c:type:`newfunc` | .. line-block:: | :c:type:`PyObject` * |
|
||||||
| | | |
|
| | | |
|
||||||
| | :c:type:`PyObject` * | |
|
| | :c:type:`PyTypeObject` * | |
|
||||||
| | :c:type:`PyObject` * | |
|
| | :c:type:`PyObject` * | |
|
||||||
| | :c:type:`PyObject` * | |
|
| | :c:type:`PyObject` * | |
|
||||||
+-----------------------------+-----------------------------+----------------------+
|
+-----------------------------+-----------------------------+----------------------+
|
||||||
|
@ -2647,7 +2647,7 @@ Slot Type typedefs
|
||||||
|
|
||||||
See :c:member:`~PyTypeObject.tp_free`.
|
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`.
|
See :c:member:`~PyTypeObject.tp_new`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue