diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-03-03 17:16:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 17:16:50 (GMT) |
commit | 7b9132057d8f176cb9c40e8324f5122a3132ee58 (patch) | |
tree | 215c6dce9eba48cf13711ce0c658053f7c5626ec /Doc | |
parent | 4e7c0cbf59595714848cf9827f6e5b40c3985924 (diff) | |
download | cpython-7b9132057d8f176cb9c40e8324f5122a3132ee58.zip cpython-7b9132057d8f176cb9c40e8324f5122a3132ee58.tar.gz cpython-7b9132057d8f176cb9c40e8324f5122a3132ee58.tar.bz2 |
gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (#102390)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/buffer.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst index a04062f..91d1edd 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. |