Skip to content

Commit 2d4dfe1

Browse files
poyeaCopilot
andauthored
Update searches/binary_search.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f16b1d2 commit 2d4dfe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

searches/binary_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def binary_search_with_duplicates(sorted_collection: list[int], item: int) -> li
253253
The collection must be sorted in ascending order; otherwise the result will be
254254
unpredictable. If the target appears multiple times, this function returns a
255255
list of all indexes where the target occurs. If the target is not found,
256-
it returns an empty list.
256+
this function returns an empty list.
257257
258258
:param sorted_collection: some ascending sorted collection with comparable items
259259
:param item: item value to search for

0 commit comments

Comments
 (0)