summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorKassian Sun <kassiansun@outlook.com>2022-03-14 12:10:36 +0800
committerKassian Sun <kassiansun@outlook.com>2022-03-14 12:10:36 +0800
commite90e638cd21c8e9afc8f0e84420da7d9ec801fc1 (patch)
tree260f2b3306a4d76658f7112c83eecb71dd275159 /numpy/core/fromnumeric.py
parent2e2c4c20c745781719006e6110b6f1236c4e51f9 (diff)
downloadnumpy-e90e638cd21c8e9afc8f0e84420da7d9ec801fc1.tar.gz
DOC: Remove the confusing "unless not" in numpy/core/fromnumeric.py
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 0ec4f7687..6e6b6730c 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -2309,7 +2309,7 @@ def any(a, axis=None, out=None, keepdims=np._NoValue, *, where=np._NoValue):
"""
Test whether any array element along a given axis evaluates to True.
- Returns single boolean unless `axis` is not ``None``
+ Returns single boolean if `axis` is ``None``
Parameters
----------