diff --git a/searches/binary_search.py b/searches/binary_search.py index 5125dc6bdb9a..397d8a96fa95 100644 --- a/searches/binary_search.py +++ b/searches/binary_search.py @@ -2,7 +2,8 @@ """ Pure Python implementations of binary search algorithms - +The collection must be sorted in ascending order; otherwise, the result will be +unpredictable. For doctests run the following command: python3 -m doctest -v binary_search.py