[Python-checkins] r77081 - python/trunk/Doc/c-api/buffer.rst
georg.brandl
python-checkins at python.org
Mon Dec 28 08:59:06 CET 2009
Author: georg.brandl
Date: Mon Dec 28 08:59:05 2009
New Revision: 77081
Log:
#7577: fix signature of PyBuffer_FillInfo().
Modified:
python/trunk/Doc/c-api/buffer.rst
Modified: python/trunk/Doc/c-api/buffer.rst
==============================================================================
--- python/trunk/Doc/c-api/buffer.rst (original)
+++ python/trunk/Doc/c-api/buffer.rst Mon Dec 28 08:59:05 2009
@@ -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
More information about the Python-checkins
mailing list