diff options
author | Stephan Hoyer <shoyer@google.com> | 2019-04-27 14:44:24 -0700 |
---|---|---|
committer | Stephan Hoyer <shoyer@google.com> | 2019-04-27 14:44:24 -0700 |
commit | 9f01778dd199c3691b4c11ff79336ca79a15a4eb (patch) | |
tree | d956b7c24f78c5ecd36964881c7286e31664f326 | |
parent | 6473fa20407ccd7581ac90cb3ef5b921a4a75cd7 (diff) | |
download | numpy-9f01778dd199c3691b4c11ff79336ca79a15a4eb.tar.gz |
DOC: dimension sizes are non-negative, not positive
-rw-r--r-- | doc/source/reference/arrays.ndarray.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/arrays.ndarray.rst b/doc/source/reference/arrays.ndarray.rst index 5e685f25c..8f431bc9c 100644 --- a/doc/source/reference/arrays.ndarray.rst +++ b/doc/source/reference/arrays.ndarray.rst @@ -9,7 +9,7 @@ The N-dimensional array (:class:`ndarray`) An :class:`ndarray` is a (usually fixed-size) multidimensional container of items of the same type and size. The number of dimensions and items in an array is defined by its :attr:`shape <ndarray.shape>`, -which is a :class:`tuple` of *N* positive integers that specify the +which is a :class:`tuple` of *N* non-negative integers that specify the sizes of each dimension. The type of items in the array is specified by a separate :ref:`data-type object (dtype) <arrays.dtypes>`, one of which is associated with each ndarray. |