Skip to content

Commit d7eb29e

Browse files
committed
Added return type
1 parent 34ee1a2 commit d7eb29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/shrink_shell.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
"""
2020

21-
def shell_sort(collection):
21+
def shell_sort(collection: list) -> list:
2222
"""Implementation of shell sort algorithm in Python
2323
:param collection: Some mutable ordered collection with heterogeneous
2424
comparable items inside

0 commit comments

Comments
 (0)