Skip to content

Commit 91cb294

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

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

data_structures/binary_tree/binary_search_tree.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ def __iter__(self) -> Iterator[int]:
116116
yield from self.right or []
117117

118118
def __repr__(self) -> str:
119-
120-
121119
if self.left is None and self.right is None:
122120
return str(self.value)
123121
return pformat({f"{self.value}": (self.left, self.right)}, indent=1)

0 commit comments

Comments
 (0)