From 0bb6bebc2406e183ad5fdd7229875d3b784119f2 Mon Sep 17 00:00:00 2001 From: ashviz915 <154710760+avyukth-fll@users.noreply.github.com> Date: Wed, 22 Oct 2025 08:28:31 -0700 Subject: [PATCH] Fix example in bubble_sort_recursive docstring bubble_sort_recursive doctstring used bubble_sort_iterative on one of the lines. changed to bubble_sort_recursive --- sorts/bubble_sort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sorts/bubble_sort.py b/sorts/bubble_sort.py index 9ec3d5384f38..63b1f16a45cc 100644 --- a/sorts/bubble_sort.py +++ b/sorts/bubble_sort.py @@ -63,7 +63,7 @@ def bubble_sort_recursive(collection: list[Any]) -> list[Any]: Examples: >>> bubble_sort_recursive([0, 5, 2, 3, 2]) [0, 2, 2, 3, 5] - >>> bubble_sort_iterative([]) + >>> bubble_sort_recursive([]) [] >>> bubble_sort_recursive([-2, -45, -5]) [-45, -5, -2]