summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/buffer.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-12-28 08:00:47 (GMT)
committerGeorg Brandl <georg@python.org>2009-12-28 08:00:47 (GMT)
commit8668c2214440d748acd2470a66bb1468b27188d0 (patch)
tree5834e8a4a9405e27efb3780dcf062b8c75ec203e /Doc/c-api/buffer.rst
parent27277d9d5b2649fd1677fb88e46dc4f5d13e0c98 (diff)
downloadcpython-8668c2214440d748acd2470a66bb1468b27188d0.zip
cpython-8668c2214440d748acd2470a66bb1468b27188d0.tar.gz
cpython-8668c2214440d748acd2470a66bb1468b27188d0.tar.bz2
Merged revisions 77081 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77081 | georg.brandl | 2009-12-28 08:59:05 +0100 (Mo, 28 Dez 2009) | 1 line #7577: fix signature of PyBuffer_FillInfo(). ........
Diffstat (limited to 'Doc/c-api/buffer.rst')
-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 ec44a99..d14fd80 100644
--- a/Doc/c-api/buffer.rst
+++ b/Doc/c-api/buffer.rst
@@ -289,7 +289,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