[Python-checkins] r77083 - in python/branches/py3k: Doc/c-api/buffer.rst
georg.brandl
python-checkins at python.org
Mon Dec 28 09:00:47 CET 2009
Author: georg.brandl
Date: Mon Dec 28 09:00:47 2009
New Revision: 77083
Log:
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().
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Doc/c-api/buffer.rst
Modified: python/branches/py3k/Doc/c-api/buffer.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/buffer.rst (original)
+++ python/branches/py3k/Doc/c-api/buffer.rst Mon Dec 28 09:00:47 2009
@@ -289,7 +289,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