Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e881302

Browse files
miss-islingtonberkerpeksag
authored andcommitted
[3.6] bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993)
(cherry picked from commit 1b9e76e)
1 parent 59b5c13 commit e881302

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/c-api/buffer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ Buffer-related functions
473473
(*order* is ``'A'``). Return ``0`` otherwise.
474474
475475
476-
.. c:function:: void PyBuffer_FillContiguousStrides(int ndim, Py_ssize_t *shape, Py_ssize_t *strides, Py_ssize_t itemsize, char order)
476+
.. c:function:: void PyBuffer_FillContiguousStrides(int ndims, Py_ssize_t *shape, Py_ssize_t *strides, int itemsize, char order)
477477
478478
Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style if
479479
*order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the

0 commit comments

Comments
 (0)