Skip to content

Commit f3bde83

Browse files
author
Kcstring
committed
searches: format linear search type hints
1 parent 0795499 commit f3bde83

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

searches/linear_search.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ def linear_search[T](sequence: Sequence[T], target: T) -> int:
3535
return -1
3636

3737

38-
def rec_linear_search[T](
39-
sequence: Sequence[T], low: int, high: int, target: T
40-
) -> int:
38+
def rec_linear_search[T](sequence: Sequence[T], low: int, high: int, target: T) -> int:
4139
"""
4240
A pure Python implementation of a recursive linear search algorithm
4341

0 commit comments

Comments
 (0)