From e90e638cd21c8e9afc8f0e84420da7d9ec801fc1 Mon Sep 17 00:00:00 2001 From: Kassian Sun Date: Mon, 14 Mar 2022 12:10:36 +0800 Subject: DOC: Remove the confusing "unless not" in numpy/core/fromnumeric.py --- numpy/core/fromnumeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/fromnumeric.py') 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 ---------- -- cgit v1.2.1