summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorBharat Raghunathan <bharatraghunthan9767@gmail.com>2020-02-01 22:03:57 +0530
committerGitHub <noreply@github.com>2020-02-01 22:03:57 +0530
commit9683facec46b007cb98bf63ea771671e2a49f558 (patch)
treefb3082f2fc0001123a4a6b84666e8bd32fc91e61 /numpy/core
parent218f38fb6dc34cb9d9ffe7652800f9deee1de4d6 (diff)
downloadnumpy-9683facec46b007cb98bf63ea771671e2a49f558.tar.gz
Update numpy/core/fromnumeric.py with review comment
Co-Authored-By: Eric Wieser <wieser.eric@gmail.com>
Diffstat (limited to 'numpy/core')
-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 874f951ae..2c011c2a7 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -1478,7 +1478,7 @@ def squeeze(a, axis=None):
>>> x.shape
(1, 1)
>>> np.squeeze(x)
- array(1234)
+ array(1234) # 0d array
>>> np.squeeze(x).shape
()
>>> np.squeeze(x)[0]