From 2438ff12cb19464466f59a061d70d7cbc2bf678a Mon Sep 17 00:00:00 2001 From: kritisingh1 Date: Tue, 4 Jun 2019 01:54:22 +0530 Subject: DOC: Mention PyArray_DIMS can be NULL --- doc/source/reference/c-api.array.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/source/reference/c-api.array.rst') 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) -- cgit v1.2.1