summaryrefslogtreecommitdiff
path: root/examples/greeting.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-10-31 21:10:28 -0700
committerPaul McGuire <ptmcg@users.noreply.github.com>2019-10-31 23:10:28 -0500
commit53d1b4a6f48a53c4c4ec4ac7031362b691c0366d (patch)
tree088ad3cf3561b78a00af4fb2fd474f4a2b8ca70c /examples/greeting.py
parent41752aa52cc97c710474bb2972cceab057b52ad4 (diff)
downloadpyparsing-git-53d1b4a6f48a53c4c4ec4ac7031362b691c0366d.tar.gz
Blacken the project (#141)
Diffstat (limited to 'examples/greeting.py')
-rw-r--r--examples/greeting.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/greeting.py b/examples/greeting.py
index 6b1cfe3..28a534a 100644
--- a/examples/greeting.py
+++ b/examples/greeting.py
@@ -14,12 +14,14 @@ greet = pp.Word(pp.alphas) + "," + pp.Word(pp.alphas) + pp.oneOf("! ? .")
hello = "Hello, World!"
# parse input string
-print(hello, "->", greet.parseString( hello ))
+print(hello, "->", greet.parseString(hello))
# parse a bunch of input strings
-greet.runTests("""\
+greet.runTests(
+ """\
Hello, World!
Ahoy, Matey!
Howdy, Pardner!
Morning, Neighbor!
- """) \ No newline at end of file
+ """
+)