Skip to content

Commit 7d005eb

Browse files
authored
Fix grammar in binary_search docstring
Corrected grammar and improved clarity in the binary search docstring.
1 parent 3c88735 commit 7d005eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

searches/binary_search.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
"""
44
Pure Python implementations of binary search algorithms
5-
5+
The collection must be sorted in ascending order; otherwise, the result will be
6+
unpredictable.
67
For doctests run the following command:
78
python3 -m doctest -v binary_search.py
89

0 commit comments

Comments
 (0)