Skip to content

Commit 16eb956

Browse files
authored
Fix quotes in adaptive_merge_sort docstring examples
Updated docstring examples to use consistent quotes.
1 parent 469f44f commit 16eb956

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎sorts/adaptive_merge_sort.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ def adaptive_merge_sort[T: Comparable](sequence: list[T]) -> list[T]:
1111
1212
>>> adaptive_merge_sort([4, 3, 1, 2])
1313
[1, 2, 3, 4]
14-
>>> adaptive_merge_sort(["banana", "apple", "cherry"])
15-
["apple", "banana", "cherry"]
14+
>>> adaptive_merge_sort(["banana", "apple", "cherry"])
15+
['apple', 'banana', 'cherry']
1616
>>> adaptive_merge_sort([1, "apple"])
1717
Traceback (most recent call last):
1818
TypeError: '<' not supported between instances of 'str' and 'int'

0 commit comments

Comments
 (0)