diff --git a/data_structures/binary_tree/basic_binary_tree.py b/data_structures/binary_tree/basic_binary_tree.py index faaf9400f..c7820b721 100644 --- a/data_structures/binary_tree/basic_binary_tree.py +++ b/data_structures/binary_tree/basic_binary_tree.py @@ -35,7 +35,7 @@ def display_using_in_order_traversal(root: Node | None, level: int = 0) -> None: >>> root = Node(1) >>> root.left = Node(0) >>> root.right = Node(2) - >>> display_tree(root) + >>> display_using_in_order_traversal(root) 2 1 0