diff options
Diffstat (limited to 'examples/greetingInGreek.py')
-rw-r--r-- | examples/greetingInGreek.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/greetingInGreek.py b/examples/greetingInGreek.py index 921ac04..8dccd81 100644 --- a/examples/greetingInGreek.py +++ b/examples/greetingInGreek.py @@ -1,4 +1,4 @@ -# vim:fileencoding=utf-8
+# vim:fileencoding=utf-8
#
# greetingInGreek.py
#
@@ -10,11 +10,10 @@ from pyparsing import Word, pyparsing_unicode # define grammar
alphas = pyparsing_unicode.Greek.alphas
-greet = Word(alphas) + ',' + Word(alphas) + '!'
+greet = Word(alphas) + ',' + Word(alphas) + '!'
# input string
hello = "Καλημέρα, κόσμε!"
# parse input string
print(greet.parseString(hello))
-
|