Skip to content

Commit 67e9cc0

Browse files
Fixed missing parentheses on tree_data method call.
1 parent 92bb996 commit 67e9cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binary_tree_tutorial.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ class Node:
417417

418418
For example, we want to access the tree nodes using a for loop:
419419
[code lang="python"]
420-
for data in root.tree_data:
420+
for data in root.tree_data():
421421
print data
422422
[/code]
423423

0 commit comments

Comments
 (0)