summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2019-06-07 09:50:07 +0300
committerGitHub <noreply@github.com>2019-06-07 09:50:07 +0300
commit0e4ee213748d51ecbb25e093917a13b785cb2d93 (patch)
tree422597259f4823be06cc9a7e06a7b78a77da01d0 /doc/source
parentedd334cdda888d1cec8ef8caf057f5ae1c8b85d8 (diff)
parent2438ff12cb19464466f59a061d70d7cbc2bf678a (diff)
downloadnumpy-0e4ee213748d51ecbb25e093917a13b785cb2d93.tar.gz
Merge pull request #13704 from kritisingh1/dims
DOC: Mention PyArray_DIMS can be NULL
Diffstat (limited to 'doc/source')
-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)