mirror of
https://github.com/python/cpython.git
synced 2025-08-19 08:11:46 +00:00
#7577: fix signature of PyBuffer_FillInfo().
This commit is contained in:
parent
e079636853
commit
1686f3499f
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ Buffer related functions
|
|||
given shape with the given number of bytes per element.
|
||||
|
||||
|
||||
.. cfunction:: int PyBuffer_FillInfo(Py_buffer *view, void *buf, Py_ssize_t len, int readonly, int infoflags)
|
||||
.. cfunction:: int PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len, int readonly, int infoflags)
|
||||
|
||||
Fill in a buffer-info structure, *view*, correctly for an exporter that can
|
||||
only share a contiguous chunk of memory of "unsigned bytes" of the given
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue