From 32dc770f089f967c2e323141feb3246882072562 Mon Sep 17 00:00:00 2001 From: Chris Kerr Date: Mon, 21 Apr 2014 08:49:20 +0100 Subject: Fixed typo in the docstrings of np.all() and np.any() --- numpy/core/fromnumeric.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/core/fromnumeric.py') 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. -- cgit v1.2.1