]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (#102390)
authorNikita Sobolev <mail@sobolevn.me>
Fri, 3 Mar 2023 17:16:50 +0000 (20:16 +0300)
committerGitHub <noreply@github.com>
Fri, 3 Mar 2023 17:16:50 +0000 (22:46 +0530)
Doc/c-api/buffer.rst

index a04062fb2a68f1dba62ed42ce738b53d688b0653..91d1edd9b2ec466322a2de7fcc3ffe0b934ddac0 100644 (file)
@@ -499,7 +499,7 @@ Buffer-related functions
    This function fails if *len* != *src->len*.
 
 
-.. c:function:: int PyObject_CopyData(Py_buffer *dest, Py_buffer *src)
+.. c:function:: int PyObject_CopyData(PyObject *dest, PyObject *src)
 
    Copy data from *src* to *dest* buffer. Can convert between C-style and
    or Fortran-style buffers.