summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Bendersky <eliben@users.noreply.github.com>2014-11-05 05:19:26 -0800
committerEli Bendersky <eliben@users.noreply.github.com>2014-11-05 05:19:26 -0800
commit497880550069b2a887c70c18cf45cfcd3eaf934d (patch)
tree3162adebd8bdac78d910512dd3a662a6a0961a83
parentc926670643ebb5f88a2bf56579fc9934c82be6d2 (diff)
parentcbe6e3b99972b58bbe22e20c7d29fd705e37c0bf (diff)
downloadpycparser-497880550069b2a887c70c18cf45cfcd3eaf934d.tar.gz
Merge pull request #60 from chris-morrison/feature/bugfix/print-statement-to-print-func
modify example to use print function, rather than print statement
-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()