From: Benjamin Peterson Date: Sun, 31 May 2009 00:42:42 +0000 (+0000) Subject: fix signature X-Git-Tag: v2.7a1~1061 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7ead0c23f041ab6aebbe49872c799111559d071;p=thirdparty%2FPython%2Fcpython.git fix signature --- diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst index da7a8e4e2418..3f13e7408468 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