We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57c898a commit f0a24e1Copy full SHA for f0a24e1
1 file changed
sorts/tim_sort.py
@@ -16,7 +16,8 @@ def binary_search(lst: list[Any], item: Any, start: int, end: int) -> int:
16
where to insert the item so the list stays sorted.
17
18
Args:
19
- lst: A list of comparable items (the sublist from ``start`` to ``end`` must already be sorted).
+ lst: A list of comparable items.
20
+ The sublist from ``start`` to ``end`` must already be sorted.
21
item: The value to locate an insertion index for.
22
start: Left-most index of the sorted sublist to search.
23
end: Right-most index of the sorted sublist to search.
0 commit comments