Skip to content

Commit 08f148b

Browse files
committed
Add type hints to unknown_sort
1 parent 6ec3f59 commit 08f148b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/unknown_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"""
77

88

9-
def merge_sort(collection):
9+
def merge_sort(collection: list[int]) -> list[int]:
1010
"""Pure implementation of the fastest merge sort algorithm in Python
1111
1212
:param collection: some mutable ordered collection with heterogeneous

0 commit comments

Comments
 (0)