summaryrefslogtreecommitdiff
path: root/examples/greeting.py
diff options
context:
space:
mode:
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
+ """
+)