summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorTyler Reddy <tyler.je.reddy@gmail.com>2018-12-05 11:15:28 -0800
committerTyler Reddy <tyler.je.reddy@gmail.com>2018-12-14 10:14:05 -0800
commit0bdc587d6cf5e6806e95d9debcafe62ac9f1d7fa (patch)
tree1fa53cdf16bdc6eeb2dcc3eec429b6d5cbef5c2b /numpy/core/fromnumeric.py
parent5eae94f603b9f087c1f0bbc8e1f8fc9f773456d8 (diff)
downloadnumpy-0bdc587d6cf5e6806e95d9debcafe62ac9f1d7fa.tar.gz
MAINT: addressing review comments
* restored regression comment in numpy/core/defchararray.py * fixed the dimensionality of the z array in all() docstring in numpy/core/fromnumeric.py; this isn't detected because it is in-line with variable memory addresses which are tagged as variable for refguide * byte_bounds() docstring adjusted to reflect non-variable dtype after reviewer requested removal of complex dtype * restore an original comment in matmul docstring, as requested by reviewer
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 575e0a8ef..474556b30 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -2243,7 +2243,7 @@ def all(a, axis=None, out=None, keepdims=np._NoValue):
>>> o=np.array(False)
>>> z=np.all([-1, 4, 5], out=o)
>>> id(z), id(o), z
- (28293632, 28293632, array([ True])) # may vary
+ (28293632, 28293632, array(True)) # may vary
"""
return _wrapreduction(a, np.logical_and, 'all', axis, None, out, keepdims=keepdims)