summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api/array.rst
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-01-06 10:39:44 +0200
committerGitHub <noreply@github.com>2020-01-06 10:39:44 +0200
commitc28fc48328e9621160debae4d0d99feeff3b8fdf (patch)
tree5a2ef18e4e57d99e92124040a586e77d92e54c78 /doc/source/reference/c-api/array.rst
parent21e796e159dd4865a265b94a044ddb144e4e0af1 (diff)
parentc2501e4994efd9f561e67cc69b5b001fe77ce346 (diff)
downloadnumpy-c28fc48328e9621160debae4d0d99feeff3b8fdf.tar.gz
Merge pull request #15251 from eric-wieser/improve-stride-const-correctness
MAINT: Improve const-correctness of shapes and strides
Diffstat (limited to 'doc/source/reference/c-api/array.rst')
-rw-r--r--doc/source/reference/c-api/array.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/c-api/array.rst b/doc/source/reference/c-api/array.rst
index c910efa60..2eaf3a27a 100644
--- a/doc/source/reference/c-api/array.rst
+++ b/doc/source/reference/c-api/array.rst
@@ -2514,7 +2514,7 @@ this useful approach to looping over an array.
stride and that axis will be used.
.. c:function:: PyObject *PyArray_BroadcastToShape( \
- PyObject* arr, npy_intp *dimensions, int nd)
+ PyObject* arr, npy_intp const *dimensions, int nd)
Return an array iterator that is broadcast to iterate as an array
of the shape provided by *dimensions* and *nd*.