diff options
author | Chris Kerr <cjk34@cam.ac.uk> | 2014-04-21 08:49:20 +0100 |
---|---|---|
committer | Chris Kerr <cjk34@cam.ac.uk> | 2014-04-21 08:49:20 +0100 |
commit | 32dc770f089f967c2e323141feb3246882072562 (patch) | |
tree | 234cb30a049976f4053f9f4d65eb2be7fb000ee1 /numpy/core/fromnumeric.py | |
parent | e8a9e84a34ca9a45acfde938298f7e5dac609d75 (diff) | |
download | numpy-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.py | 4 |
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. |