summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorTim Hoffmann <2836374+timhoffm@users.noreply.github.com>2021-11-18 00:05:01 +0100
committerTim Hoffmann <2836374+timhoffm@users.noreply.github.com>2021-11-18 00:05:01 +0100
commit5d70de730b7b3f1586826f708a9c0cda37d95511 (patch)
tree00fa88754e4174899ee1b7a55754a73ba7244c61 /numpy/core/fromnumeric.py
parentfc23679cc0da2716965279add044d323a02e2c42 (diff)
downloadnumpy-5d70de730b7b3f1586826f708a9c0cda37d95511.tar.gz
Document what len(a) is in See Also of numpy.shape
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 3242124ac..3e2d49c8b 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -1980,7 +1980,7 @@ def shape(a):
See Also
--------
- len
+ len : ``len(a)`` is equivalent to ``np.shape(a)[0]`` for 1+-dim arrays.
ndarray.shape : Equivalent array method.
Examples