diff options
author | Chris Morrison <cjmorrison@gmail.com> | 2014-11-05 20:50:00 +1100 |
---|---|---|
committer | Chris Morrison <cjmorrison@gmail.com> | 2014-11-05 20:50:00 +1100 |
commit | cbe6e3b99972b58bbe22e20c7d29fd705e37c0bf (patch) | |
tree | 3162adebd8bdac78d910512dd3a662a6a0961a83 /examples/explore_ast.py | |
parent | c926670643ebb5f88a2bf56579fc9934c82be6d2 (diff) | |
download | pycparser-cbe6e3b99972b58bbe22e20c7d29fd705e37c0bf.tar.gz |
modify example to use print function, rather than print statement
Diffstat (limited to 'examples/explore_ast.py')
-rw-r--r-- | examples/explore_ast.py | 2 |
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() |