summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2019-05-22 16:15:57 +0300
committerGitHub <noreply@github.com>2019-05-22 16:15:57 +0300
commit2895dab41944b2f28c130533b91ed4e55fd54b58 (patch)
tree882bffe5be551b63d43f46b4e741531f140aa5c2 /numpy/core/fromnumeric.py
parent62d88448b555daaf4dcda357f5ff91b6bc66f0a0 (diff)
parent966ccea02bd3f9f8fa7fffb8c2903ff2daf83b58 (diff)
downloadnumpy-2895dab41944b2f28c130533b91ed4e55fd54b58.tar.gz
Merge pull request #13574 from belm0/patch-1
DOC: remove performance claim from searchsorted()
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 cbbee463a..202802e2c 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -1279,7 +1279,7 @@ def searchsorted(a, v, side='left', sorter=None):
As of NumPy 1.4.0 `searchsorted` works with real/complex arrays containing
`nan` values. The enhanced sort order is documented in `sort`.
- This function is a faster version of the builtin python `bisect.bisect_left`
+ This function uses the same algorithm as the builtin python `bisect.bisect_left`
(``side='left'``) and `bisect.bisect_right` (``side='right'``) functions,
which is also vectorized in the `v` argument.