summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorChris Kerr <cjk34@cam.ac.uk>2014-04-21 08:49:20 +0100
committerChris Kerr <cjk34@cam.ac.uk>2014-04-21 08:49:20 +0100
commit32dc770f089f967c2e323141feb3246882072562 (patch)
tree234cb30a049976f4053f9f4d65eb2be7fb000ee1 /numpy/core/fromnumeric.py
parente8a9e84a34ca9a45acfde938298f7e5dac609d75 (diff)
downloadnumpy-32dc770f089f967c2e323141feb3246882072562.tar.gz
Fixed typo in the docstrings of np.all() and np.any()
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 3de81305d..575df9628 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -1771,7 +1771,7 @@ def any(a, axis=None, out=None, keepdims=False):
Input array or object that can be converted to an array.
axis : None or int or tuple of ints, optional
Axis or axes along which a logical OR reduction is performed.
- The default (`axis` = `None`) is perform a logical OR over all
+ The default (`axis` = `None`) is to perform a logical OR over all
the dimensions of the input array. `axis` may be negative, in
which case it counts from the last to the first axis.
@@ -1849,7 +1849,7 @@ def all(a, axis=None, out=None, keepdims=False):
Input array or object that can be converted to an array.
axis : None or int or tuple of ints, optional
Axis or axes along which a logical AND reduction is performed.
- The default (`axis` = `None`) is perform a logical OR over all
+ The default (`axis` = `None`) is to perform a logical AND over all
the dimensions of the input array. `axis` may be negative, in
which case it counts from the last to the first axis.