diff Doc/c-api/typeobj.rst @ 57955:30741ef65617

#7577: fix signature info for getbufferproc.
author Georg Brandl <georg@python.org>
date Mon, 28 Dec 2009 07:59:20 +0000
parents afbb2b2ff6f7
children e7b5fc8646ab
line wrap: on
line diff
--- a/Doc/c-api/typeobj.rst	Sun Dec 27 21:34:05 2009 +0000
+++ b/Doc/c-api/typeobj.rst	Mon Dec 28 07:59:20 2009 +0000
@@ -1210,7 +1210,7 @@
 
       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