Skip to content

Commit

Permalink
DOC: Mention PyArray_DIMS can be NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
kritisingh1 committed Jun 7, 2019
1 parent 40ada70 commit 2438ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/reference/c-api.array.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sub-types).
Returns a pointer to the dimensions/shape of the array. The
number of elements matches the number of dimensions
of the array.
of the array. Can return ``NULL`` for 0-dimensional arrays.
.. c:function:: npy_intp *PyArray_SHAPE(PyArrayObject *arr)
Expand Down

0 comments on commit 2438ff1

Please sign in to comment.