summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorJonas Liechti <jonas.liechti@uzh.ch>2021-10-22 17:41:32 +0200
committerJonas Liechti <jonas.liechti@uzh.ch>2021-10-22 17:41:32 +0200
commit5f9cd964581950d671d2e17a724cdd6984dcd29d (patch)
tree538f3920552c99deb1caa9465607a394df6f33d8 /numpy/lib/function_base.py
parentf9e712d2b658b6e7b8eff7eeac062b08a726315d (diff)
downloadnumpy-5f9cd964581950d671d2e17a724cdd6984dcd29d.tar.gz
removed redundant comment
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 2e77c11dc..392a059b5 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -663,9 +663,6 @@ def select(condlist, choicelist, default=0):
>>> np.select(condlist, choicelist, 42)
array([ 0, 1, 2, 42, 16, 25])
- Note that, when multiple conditions are satisfied, the element is drawn
- from the first array in `choicelist` with a matching condition:
-
>>> x = np.arange(6)
>>> condlist = [x<=4, x>3]
>>> choicelist = [x, x**2]