Skip to content

Commit 50cef52

Browse files
vyas45berkerpeksag
authored andcommitted
[2.7] bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993)
1 parent 9aa6024 commit 50cef52

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
@@ -278,7 +278,7 @@ Buffer related functions
278278
(*fortran* is ``'A'``). Return ``0`` otherwise.
279279
280280
281-
.. c:function:: void PyBuffer_FillContiguousStrides(int ndim, Py_ssize_t *shape, Py_ssize_t *strides, Py_ssize_t itemsize, char fortran)
281+
.. c:function:: void PyBuffer_FillContiguousStrides(int ndims, Py_ssize_t *shape, Py_ssize_t *strides, int itemsize, char fortran)
282282
283283
Fill the *strides* array with byte-strides of a contiguous (C-style if
284284
*fortran* is ``'C'`` or Fortran-style if *fortran* is ``'F'``) array of the

0 commit comments

Comments
 (0)