Skip to content

Check documentation of PyObject_CopyData #102383

Closed
@purpleKarrot

Description

@purpleKarrot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions