diff options
| author | ptmcg <ptmcg@austin.rr.com> | 2019-01-30 20:41:33 -0600 |
|---|---|---|
| committer | ptmcg <ptmcg@austin.rr.com> | 2019-01-30 20:41:33 -0600 |
| commit | 3157a77c9584a69839db0f8274c87438b912e99b (patch) | |
| tree | 5e93a6e21715f9afcbc55eba56f4a5f962b67a46 /examples/greetingInKorean.py | |
| parent | f10a02039a6039f8a42b0cc99bea51623676cf01 (diff) | |
| download | pyparsing-git-3157a77c9584a69839db0f8274c87438b912e99b.tar.gz | |
Update examples and unit tests to more preferred coding styles, imports for pyparsing_common as ppc and pyparsing_unicode as ppu
Diffstat (limited to 'examples/greetingInKorean.py')
| -rw-r--r-- | examples/greetingInKorean.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/greetingInKorean.py b/examples/greetingInKorean.py index 7f5a17e..8b6fa49 100644 --- a/examples/greetingInKorean.py +++ b/examples/greetingInKorean.py @@ -6,9 +6,9 @@ #
# Copyright 2004-2016, by Paul McGuire
#
-from pyparsing import Word, pyparsing_unicode
+from pyparsing import Word, pyparsing_unicode as ppu
-koreanChars = pyparsing_unicode.Korean.alphas
+koreanChars = ppu.Korean.alphas
koreanWord = Word(koreanChars, min=2)
# define grammar
|
