Skip to content

Commit f944b91

Browse files
Add type hints to unknown_sort (#14489)
* Added type hints for bogo_sort * Add type hints to unknown_sort * Update bogo_sort.py * Update unknown_sort.py --------- Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
1 parent 02680c9 commit f944b91

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) -> list:
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)