commit | cbe6e3b99972b58bbe22e20c7d29fd705e37c0bf | [log] [tgz] |
---|---|---|
author | Chris Morrison <cjmorrison@gmail.com> | Wed Nov 05 20:50:00 2014 +1100 |
committer | Chris Morrison <cjmorrison@gmail.com> | Wed Nov 05 20:50:00 2014 +1100 |
tree | 3162adebd8bdac78d910512dd3a662a6a0961a83 | |
parent | c926670643ebb5f88a2bf56579fc9934c82be6d2 [diff] |
modify example to use print function, rather than print statement
diff --git a/examples/explore_ast.py b/examples/explore_ast.py index 6d3e70c..aaaa9b1 100644 --- a/examples/explore_ast.py +++ b/examples/explore_ast.py
@@ -143,7 +143,7 @@ # left and right nodes as children. It also has the op attribute, # which is just the string representation of the operator. # -#~ print while_cond.op +#~ print(while_cond.op) #~ while_cond.left.show() #~ while_cond.right.show()