Skip to content

Commit 1dacbec

Browse files
R055Acclauss
andauthored
Update sorts/bubble_sort.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent ef44a18 commit 1dacbec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: sorts/bubble_sort.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def bubble_sort_iterative(collection: list[Any]) -> list[Any]:
4242
return collection
4343

4444

45-
def bubble_sort_recursive(list_data: list, length: int = 0) -> list:
45+
def bubble_sort_recursive(collection: list[Any]), length: int = 0) -> list[Any]:
4646
"""
4747
It is similar is bubble sort but recursive.
4848
:param list_data: mutable ordered sequence of elements

0 commit comments

Comments
 (0)