From 9683facec46b007cb98bf63ea771671e2a49f558 Mon Sep 17 00:00:00 2001 From: Bharat Raghunathan Date: Sat, 1 Feb 2020 22:03:57 +0530 Subject: [PATCH] Update numpy/core/fromnumeric.py with review comment Co-Authored-By: Eric Wieser --- numpy/core/fromnumeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 874f951aea78..2c011c2a7b24 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]