Skip to content

Commit f212764

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/binary_tree/splay_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def _splay(self, x):
6464
self._right_rotate(p)
6565
else:
6666
self._left_rotate(p)
67-
elif p.left == x and g.left == p: # Zig-Zig
67+
elif p.left == x and g.left == p: # Zig-Zig
6868
if p.left == x and g.left == p:
6969
self._right_rotate(g)
7070
self._right_rotate(p)

0 commit comments

Comments
 (0)