diff options
author | Paul McGuire <ptmcg@austin.rr.com> | 2012-11-23 08:54:10 +0000 |
---|---|---|
committer | Paul McGuire <ptmcg@austin.rr.com> | 2012-11-23 08:54:10 +0000 |
commit | 774e46526945ea91265734a2dc82d15eed515577 (patch) | |
tree | 734ae210c20a98f01fe029f7e6eeb7a93b4617fb /src/examples/greeting.py | |
parent | 6b12041d4656f4cda910f24acda8d71013166fbd (diff) | |
download | pyparsing-git-774e46526945ea91265734a2dc82d15eed515577.tar.gz |
Clean up examples to be Python 3 compatible
Diffstat (limited to 'src/examples/greeting.py')
-rw-r--r-- | src/examples/greeting.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/greeting.py b/src/examples/greeting.py index 46108b8..2e6b241 100644 --- a/src/examples/greeting.py +++ b/src/examples/greeting.py @@ -14,4 +14,4 @@ greet = Word( alphas ) + "," + Word( alphas ) + "!" hello = "Hello, World!"
# parse input string
-print hello, "->", greet.parseString( hello )
+print(hello, "->", greet.parseString( hello ))
|