8000 gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (… · python/cpython@00791f2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 00791f2

Browse files
gh-102383: [docs] Arguments of PyObject_CopyData are PyObject * (GH-102390)
(cherry picked from commit 7b91320) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
1 parent 32a738e commit 00791f2

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