summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-03-14 10:22:34 +0200
committerGitHub <noreply@github.com>2022-03-14 10:22:34 +0200
commitfc9044863d270ab4047b6a13b55278bdf31f680c (patch)
tree260f2b3306a4d76658f7112c83eecb71dd275159
parent2e2c4c20c745781719006e6110b6f1236c4e51f9 (diff)
parente90e638cd21c8e9afc8f0e84420da7d9ec801fc1 (diff)
downloadnumpy-fc9044863d270ab4047b6a13b55278bdf31f680c.tar.gz
Merge pull request #21193 from kassiansun/main
DOC: Remove the confusing "unless not" in 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
----------