]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (GH-102390)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 3 Mar 2023 17:27:20 +0000 (09:27 -0800)
committerGitHub <noreply@github.com>
Fri, 3 Mar 2023 17:27:20 +0000 (09:27 -0800)
(cherry picked from commit 7b9132057d8f176cb9c40e8324f5122a3132ee58)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
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.