From 67e9cc0c7f42bd9279d2e9c6927a5a4b502c10c1 Mon Sep 17 00:00:00 2001 From: David Watson Date: Mon, 9 Apr 2012 13:58:58 -0300 Subject: [PATCH] Fixed missing parentheses on tree_data method call. --- binary_tree_tutorial.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binary_tree_tutorial.txt b/binary_tree_tutorial.txt index 5cb7162..33c6d13 100644 --- a/binary_tree_tutorial.txt +++ b/binary_tree_tutorial.txt @@ -417,7 +417,7 @@ class Node: For example, we want to access the tree nodes using a for loop: [code lang="python"] -for data in root.tree_data: +for data in root.tree_data(): print data [/code]