diff options
author | Pauli Virtanen <pav@iki.fi> | 2008-05-19 20:25:50 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2008-05-19 20:25:50 +0000 |
commit | 4856e097f52311da379779fd3a99c5a00a1d26b6 (patch) | |
tree | f37676d6c29fa4a67f8c25b246a4c04636976aa3 /numpy/core/fromnumeric.py | |
parent | 89f1a4e66ffaefe0ce7fe969df55821d7b853ba9 (diff) | |
download | numpy-4856e097f52311da379779fd3a99c5a00a1d26b6.tar.gz |
Fix accidentally replaced (r5190, r5193) alltrue code. Diff shows that fromnumeric.py has only docstrings changes from r5189 now.
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index bf8971e93..ac6fd7c61 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -1106,14 +1106,14 @@ def alltrue (a, axis=None, out=None): See Also -------- - ndarray.any : equivalent method + ndarray.all : equivalent method """ try: - any = a.any + all = a.all except AttributeError: - return _wrapit(a, 'any', axis, out) - return any(axis, out) + return _wrapit(a, 'all', axis, out) + return all(axis, out) def any(a,axis=None, out=None): |