summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorChris Morrison <cjmorrison@gmail.com>2014-11-05 20:50:00 +1100
committerChris Morrison <cjmorrison@gmail.com>2014-11-05 20:50:00 +1100
commitcbe6e3b99972b58bbe22e20c7d29fd705e37c0bf (patch)
tree3162adebd8bdac78d910512dd3a662a6a0961a83 /examples
parentc926670643ebb5f88a2bf56579fc9934c82be6d2 (diff)
downloadpycparser-cbe6e3b99972b58bbe22e20c7d29fd705e37c0bf.tar.gz
modify example to use print function, rather than print statement
Diffstat (limited to 'examples')
-rw-r--r--examples/explore_ast.py2
1 files changed, 1 insertions, 1 deletions
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 @@ while_cond = while_stmt.cond
# 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()