summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api.array.rst
diff options
context:
space:
mode:
authorkritisingh1 <kritisingh1.ks@gmail.com>2019-06-04 01:54:22 +0530
committerkritisingh1 <kritisingh1.ks@gmail.com>2019-06-07 09:36:16 +0530
commit2438ff12cb19464466f59a061d70d7cbc2bf678a (patch)
tree38341febaf5aeca4dd01261d49efc8aabee4bb97 /doc/source/reference/c-api.array.rst
parent40ada70d9efc903097b2ff3f968c23a7e2f14296 (diff)
downloadnumpy-2438ff12cb19464466f59a061d70d7cbc2bf678a.tar.gz
DOC: Mention PyArray_DIMS can be NULL
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 e4178ccd7..bd6062b16 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -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)