summaryrefslogtreecommitdiff
path: root/src/examples/indentedGrammarExample.py
diff options
context:
space:
mode:
authorptmcg <ptmcg@9bf210a0-9d2d-494c-87cf-cfb32e7dff7b>2012-11-23 08:54:10 +0000
committerptmcg <ptmcg@9bf210a0-9d2d-494c-87cf-cfb32e7dff7b>2012-11-23 08:54:10 +0000
commit551a3a8c1f617f2bb98345af5b606e7c1b84fee8 (patch)
tree734ae210c20a98f01fe029f7e6eeb7a93b4617fb /src/examples/indentedGrammarExample.py
parent4606aecb99379afb1e406e8ac60c97e86a514319 (diff)
downloadpyparsing-551a3a8c1f617f2bb98345af5b606e7c1b84fee8.tar.gz
Clean up examples to be Python 3 compatible
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@246 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
Diffstat (limited to 'src/examples/indentedGrammarExample.py')
-rw-r--r--src/examples/indentedGrammarExample.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/indentedGrammarExample.py b/src/examples/indentedGrammarExample.py
index e7b8cb7..f96524a 100644
--- a/src/examples/indentedGrammarExample.py
+++ b/src/examples/indentedGrammarExample.py
@@ -71,7 +71,7 @@ rvalue << (funcCall | identifier | Word(nums))
assignment = Group(identifier + "=" + rvalue)
stmt << ( funcDef | assignment | identifier )
-print data
+print(data)
parseTree = suite.parseString(data)
import pprint