summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorBharat Raghunathan <bharatraghunthan9767@gmail.com>2020-02-02 08:16:19 +0530
committerBharat Raghunathan <bharatraghunthan9767@gmail.com>2020-02-02 08:16:19 +0530
commita77e4a0b9f42bcc414a3e5bfae1ab5eaae42c3f2 (patch)
treecf1118292892cdfc6b44f77d263093aa29579b62 /numpy/core/fromnumeric.py
parent24117f92dd816bc8df4a0473c2fd4d837729b676 (diff)
parent9683facec46b007cb98bf63ea771671e2a49f558 (diff)
downloadnumpy-a77e4a0b9f42bcc414a3e5bfae1ab5eaae42c3f2.tar.gz
Merge branch 'squeeze' of https://github.com/Bharat123rox/numpy into squeeze
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]