8000 gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject`s · python/cpython@92835fe · GitHub
[go: up one dir, main page]

Skip to content

Commit 92835fe

Browse files
committed
gh-102383: [docs] Arguments of PyObject_CopyData are PyObjects
1 parent f91846b commit 92835fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/buffer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ Buffer-related functions
499499
This function fails if *len* != *src->len*.
500500
501501
502-
.. c:function:: int PyObject_CopyData(Py_buffer *dest, Py_buffer *src)
502+
.. c:function:: int PyObject_CopyData(PyObject *dest, PyObject *src)
503503
504504
Copy data from *src* to *dest* buffer. Can convert between C-style and
505505
or Fortran-style buffers.

0 commit comments

Comments
 (0)
0