Skip to content

Commit e8fb8c0

Browse files
dylanbuchipoyea
andauthored
Update data_structures/binary_tree/binary_tree_traversals.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
1 parent 129f823 commit e8fb8c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/binary_tree/binary_tree_traversals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Node:
1313
right: NodeType = None
1414

1515

16-
NodeType = Optional[Node]
16+
NodeType = Node | None
1717

1818

1919
def make_tree() -> Node:

0 commit comments

Comments
 (0)