diff options
Diffstat (limited to 'Lib/locale.py')
-rw-r--r-- | Lib/locale.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/locale.py b/Lib/locale.py index a4e1e44..437755e 100644 --- a/Lib/locale.py +++ b/Lib/locale.py @@ -220,7 +220,7 @@ def _parse_localename(localename): The language code corresponds to RFC 1766. code and encoding can be None in case the values cannot be determined or are - unkown to this implementation. + unknown to this implementation. """ code = normalize(localename) @@ -229,7 +229,7 @@ def _parse_localename(localename): elif code == 'C': return None, None else: - raise ValueError,'unkown locale: %s' % localename + raise ValueError,'unknown locale: %s' % localename return l def _build_localename(localetuple): |