Skip to content

Commit 3708857

Browse files
committed
Merge pull request laurentluce#1 from davidthewatson/patch-1
Fixed missing parentheses on tree_data method call.
2 parents 92bb996 + 67e9cc0 commit 3708857

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)