Skip to content

Commit de8d2d7

Browse files
authored
Fix typo
Fix mix up of bubble_sort_inclusive and bubble_sort_recursive in docstring
1 parent b2bca9e commit de8d2d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/bubble_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def bubble_sort_recursive(collection: list[Any]) -> list[Any]:
6363
Examples:
6464
>>> bubble_sort_recursive([0, 5, 2, 3, 2])
6565
[0, 2, 2, 3, 5]
66-
>>> bubble_sort_iterative([])
66+
>>> bubble_sort_recursive([])
6767
[]
6868
>>> bubble_sort_recursive([-2, -45, -5])
6969
[-45, -5, -2]

0 commit comments

Comments
 (0)