summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-12-28 07:59:20 (GMT)
committerGeorg Brandl <georg@python.org>2009-12-28 07:59:20 (GMT)
commit27277d9d5b2649fd1677fb88e46dc4f5d13e0c98 (patch)
tree911870c5bcc843749ccb3b9b9264d93b6494c176 /Doc
parent2cfda806f8a2ae1ccf6b05790a7baaae91262080 (diff)
downloadcpython-27277d9d5b2649fd1677fb88e46dc4f5d13e0c98.zip
cpython-27277d9d5b2649fd1677fb88e46dc4f5d13e0c98.tar.gz
cpython-27277d9d5b2649fd1677fb88e46dc4f5d13e0c98.tar.bz2
#7577: fix signature info for getbufferproc.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/typeobj.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 2e2f9c4..378bfe1 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -1210,7 +1210,7 @@ member in the :ctype:`PyTypeObject` structure should be *NULL*. Otherwise, the
This should fill a :ctype:`Py_buffer` with the necessary data for
exporting the type. The signature of :data:`getbufferproc` is ``int
- (PyObject *obj, PyObject *view, int flags)``. *obj* is the object to
+ (PyObject *obj, Py_buffer *view, int flags)``. *obj* is the object to
export, *view* is the :ctype:`Py_buffer` struct to fill, and *flags* gives
the conditions the caller wants the memory under. (See
:cfunc:`PyObject_GetBuffer` for all flags.) :cmember:`bf_getbuffer` is