summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-12-28 07:59:05 (GMT)
committerGeorg Brandl <georg@python.org>2009-12-28 07:59:05 (GMT)
commit1686f3499f48d6199ee359fa7727200f80e6983c (patch)
tree190d9e6a4fc1421c9d0b7754e027a6f8fffad4cf /Doc/c-api
parente079636853d1536a6e161c25fc449d7f3c60ac75 (diff)
downloadcpython-1686f3499f48d6199ee359fa7727200f80e6983c.zip
cpython-1686f3499f48d6199ee359fa7727200f80e6983c.tar.gz
cpython-1686f3499f48d6199ee359fa7727200f80e6983c.tar.bz2
#7577: fix signature of PyBuffer_FillInfo().
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/buffer.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst
index 72afcfd..66b4ddd 100644
--- a/Doc/c-api/buffer.rst
+++ b/Doc/c-api/buffer.rst
@@ -294,7 +294,7 @@ Buffer related functions
given shape with the given number of bytes per element.
-.. cfunction:: int PyBuffer_FillInfo(Py_buffer *view, void *buf, Py_ssize_t len, int readonly, int infoflags)
+.. cfunction:: int PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len, int readonly, int infoflags)
Fill in a buffer-info structure, *view*, correctly for an exporter that can
only share a contiguous chunk of memory of "unsigned bytes" of the given