mirror of
https://github.com/python/cpython.git
synced 2024-11-28 20:33:54 +08:00
#7577: fix signature info for getbufferproc.
This commit is contained in:
parent
2cfda806f8
commit
27277d9d5b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user