[Python-checkins] gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (#102390)

kumaraditya303 webhook-mailer at python.org
Fri Mar 3 12:16:58 EST 2023


https://github.com/python/cpython/commit/7b9132057d8f176cb9c40e8324f5122a3132ee58
commit: 7b9132057d8f176cb9c40e8324f5122a3132ee58
branch: main
author: Nikita Sobolev <mail at sobolevn.me>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2023-03-03T22:46:50+05:30
summary:

gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (#102390)

files:
M Doc/c-api/buffer.rst

diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst
index a04062fb2a68..91d1edd9b2ec 100644
--- a/Doc/c-api/buffer.rst
+++ b/Doc/c-api/buffer.rst
@@ -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.



More information about the Python-checkins mailing list