summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@users.noreply.github.com>2018-10-31 06:04:28 -0500
committerGitHub <noreply@github.com>2018-10-31 06:04:28 -0500
commit29c79874e135b93128f821765d11a401bfb4ac1e (patch)
tree9f33c756a6fd77cc4d5f5696711bffd058691d0e
parente5a443638133be0f9eef26a5f0a6fdc8557a5ce4 (diff)
parent9631e186059590c27d177f1a431126e7f5ce15d1 (diff)
downloadpyparsing-git-29c79874e135b93128f821765d11a401bfb4ac1e.tar.gz
Merge pull request #41 from cclauss/patch-1
print() is a function
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index f7676cd..4761512 100644
--- a/README.md
+++ b/README.md
@@ -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: