From 92835fe49b54f0a64d21223c54c34f5a038a4adc Mon Sep 17 00:00:00 2001 From: sobolevn Date: Fri, 3 Mar 2023 12:48:03 +0300 Subject: [PATCH] gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject`s --- Doc/c-api/buffer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst index a04062fb2a68f1..91d1edd9b2ec46 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.