According to the documentation, PyObject_CopyData takes two arguments of type Py_buffer*:
|
.. c:function:: int PyObject_CopyData(Py_buffer *dest, Py_buffer *src) |
But in the implementation, it actually takes two arguments of PyObject*:
|
int PyObject_CopyData(PyObject *dest, PyObject *src) |
Linked PRs
According to the documentation,
PyObject_CopyDatatakes two arguments of typePy_buffer*:cpython/Doc/c-api/buffer.rst
Line 502 in 71db5db
But in the implementation, it actually takes two arguments of
PyObject*:cpython/Objects/abstract.c
Line 613 in 71db5db
Linked PRs
PyObject_CopyDataarePyObject *#102390PyObject_CopyDataarePyObject *(GH-102390) #102401