Wrong type for first parameter of newfunc
C function type
#125674
Labels
docs
Documentation in the Doc dir
newfunc
C function type
#125674
Documentation
The first parameter of the
newfunc
function type has typePyTypeObject *
:cpython/Include/object.h
Line 354 in a0f5c8e
However, in a couple of places in the documentation it is shown as
PyObject *
:cpython/Doc/c-api/typeobj.rst
Lines 355 to 361 in a0f5c8e
cpython/Doc/c-api/typeobj.rst
Lines 2647 to 2651 in a0f5c8e
Linked PRs
newfunc
first parameter #125675The text was updated successfully, but these errors were encountered: