File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -304,20 +304,6 @@ Buffer-related functions
304304 :c:data:`~Py_buffer.format`.
305305
306306
307- .. c:function:: int PyObject_CopyToObject(PyObject *obj, void *buf, Py_ssize_t len, char fortran)
308-
309- Copy *len* bytes of data pointed to by the contiguous chunk of memory
310- pointed to by *buf* into the buffer exported by obj. The buffer must of
311- course be writable. Return 0 on success and return -1 and raise an error
312- on failure. If the object does not have a writable buffer, then an error
313- is raised. If *fortran* is ``' F' ``, then if the object is
314- multi-dimensional, then the data will be copied into the array in
315- Fortran-style (first dimension varies the fastest). If *fortran* is
316- ``' C' ``, then the data will be copied into the array in C-style (last
317- dimension varies the fastest). If *fortran* is ``' A' ``, then it does not
318- matter and the copy will be made in whatever way is more efficient.
319-
320-
321307.. c:function:: int PyBuffer_IsContiguous(Py_buffer *view, char fortran)
322308
323309 Return 1 if the memory defined by the *view* is C-style (*fortran* is
You can’t perform that action at this time.
0 commit comments