-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
The first parameter of the newfunc
function type has type PyTypeObject *
:
Line 354 in a0f5c8e
typedef PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *); |
However, in a couple of places in the documentation it is shown as PyObject *
:
Lines 355 to 361 in a0f5c8e
+-----------------------------+-----------------------------+----------------------+ | |
| :c:type:`newfunc` | .. line-block:: | :c:type:`PyObject` * | | |
| | | | | |
| | :c:type:`PyObject` * | | | |
| | :c:type:`PyObject` * | | | |
| | :c:type:`PyObject` * | | | |
+-----------------------------+-----------------------------+----------------------+ |
Lines 2647 to 2651 in a0f5c8e
.. c:type:: PyObject *(*newfunc)(PyObject *, PyObject *, PyObject *) | |
See :c:member:`~PyTypeObject.tp_new`. | |
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Projects
Status
Todo