Skip to content

Commit 98a4ef1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ad806f9 commit 98a4ef1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sorts/tim_sort.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
def binary_search(lst: list[float | str], item: float | str, start: int, end: int) -> int:
1+
def binary_search(
2+
lst: list[float | str], item: float | str, start: int, end: int
3+
) -> int:
24
if start == end:
35
return start if lst[start] > item else start + 1
46
if start > end:

0 commit comments

Comments
 (0)