Skip to content

Commit e42a519

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cd6aa28 commit e42a519

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: sorts/tree_sort.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ def tree_sort(arr):
4444
4545
>>> tree_sort([5, -4, 9, 2, 7])
4646
[-4, 2, 5, 7, 9]
47-
47+
4848
>>> tree_sort([5, 6, 1, -1, 4, 37, 2, 7])
4949
[-1, 1, 2, 4, 5, 6, 7, 37]
50-
50+
5151
"""
5252
# Build BST
5353
if len(arr) == 0:
@@ -65,4 +65,3 @@ def tree_sort(arr):
6565
import doctest
6666

6767
doctest.testmod()
68-

0 commit comments

Comments
 (0)