diff options
author | Paul McGuire <ptmcg@users.noreply.github.com> | 2018-10-31 06:04:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 06:04:28 -0500 |
commit | 29c79874e135b93128f821765d11a401bfb4ac1e (patch) | |
tree | 9f33c756a6fd77cc4d5f5696711bffd058691d0e | |
parent | e5a443638133be0f9eef26a5f0a6fdc8557a5ce4 (diff) | |
parent | 9631e186059590c27d177f1a431126e7f5ce15d1 (diff) | |
download | pyparsing-git-29c79874e135b93128f821765d11a401bfb4ac1e.tar.gz |
Merge pull request #41 from cclauss/patch-1
print() is a function
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ Here is a program to parse "Hello, World!" (or any greeting of the form from pyparsing import Word, alphas
greet = Word( alphas ) + "," + Word( alphas ) + "!"
hello = "Hello, World!"
-print hello, "->", greet.parseString( hello )
+print(hello, "->", greet.parseString( hello ))
```
The program outputs the following:
|