[Python-checkins] r77082 - python/branches/py3k/Doc/c-api/typeobj.rst

georg.brandl python-checkins at python.org
Mon Dec 28 08:59:21 CET 2009


Author: georg.brandl
Date: Mon Dec 28 08:59:20 2009
New Revision: 77082

Log:
#7577: fix signature info for getbufferproc.

Modified:
   python/branches/py3k/Doc/c-api/typeobj.rst

Modified: python/branches/py3k/Doc/c-api/typeobj.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/typeobj.rst	(original)
+++ python/branches/py3k/Doc/c-api/typeobj.rst	Mon Dec 28 08:59:20 2009
@@ -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


More information about the Python-checkins mailing list