changeset 57954:525f67beeb89 legacy-trunk

#7577: fix signature of PyBuffer_FillInfo().
author Georg Brandl <georg@python.org>
date Mon, 28 Dec 2009 07:59:05 +0000
parents ad7e4141a3eb
children cbe1bbe544c9
files Doc/c-api/buffer.rst
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Doc/c-api/buffer.rst	Sun Dec 27 21:31:50 2009 +0000
+++ b/Doc/c-api/buffer.rst	Mon Dec 28 07:59:05 2009 +0000
@@ -294,7 +294,7 @@
    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