]> granicus.if.org Git - python/commitdiff
#7577: fix signature of PyBuffer_FillInfo().
authorGeorg Brandl <georg@python.org>
Mon, 28 Dec 2009 07:59:05 +0000 (07:59 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 28 Dec 2009 07:59:05 +0000 (07:59 +0000)
Doc/c-api/buffer.rst

index 72afcfd961b1664ce2073a4b1bed6c523c9acefe..66b4ddd9d008da27af713aed18a7c71b99e00aac 100644 (file)
@@ -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