summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-05-31 00:42:42 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-05-31 00:42:42 (GMT)
commitd7ead0c23f041ab6aebbe49872c799111559d071 (patch)
treeba75488dc415a2a31dade30655f0616de2cda582 /Doc/c-api
parenta3e8f30eab0867919e01152cacc80732a15e6550 (diff)
downloadcpython-d7ead0c23f041ab6aebbe49872c799111559d071.zip
cpython-d7ead0c23f041ab6aebbe49872c799111559d071.tar.gz
cpython-d7ead0c23f041ab6aebbe49872c799111559d071.tar.bz2
fix signature
Diffstat (limited to 'Doc/c-api')
-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 da7a8e4..3f13e74 100644
--- a/Doc/c-api/buffer.rst
+++ b/Doc/c-api/buffer.rst
@@ -141,7 +141,7 @@ Buffer related functions
Return 1 if *obj* supports the buffer interface otherwise 0.
-.. cfunction:: int PyObject_GetBuffer(PyObject *obj, PyObject *view, int flags)
+.. cfunction:: int PyObject_GetBuffer(PyObject *obj, Py_buffer *view, int flags)
Export *obj* into a :ctype:`Py_buffer`, *view*. These arguments must
never be *NULL*. The *flags* argument is a bit field indicating what