mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
[3.6] bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993)
(cherry picked from commit 1b9e76ed3a
)
This commit is contained in:
parent
59b5c139d2
commit
e881302b70
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ Buffer-related functions
|
||||||
(*order* is ``'A'``). Return ``0`` otherwise.
|
(*order* is ``'A'``). Return ``0`` otherwise.
|
||||||
|
|
||||||
|
|
||||||
.. c:function:: void PyBuffer_FillContiguousStrides(int ndim, Py_ssize_t *shape, Py_ssize_t *strides, Py_ssize_t itemsize, char order)
|
.. c:function:: void PyBuffer_FillContiguousStrides(int ndims, Py_ssize_t *shape, Py_ssize_t *strides, int itemsize, char order)
|
||||||
|
|
||||||
Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style if
|
Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style if
|
||||||
*order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the
|
*order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue