summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
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 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]