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
Reactions are currently unavailable
According to the documentation, PyObject_CopyData takes two arguments of type Py_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