summaryrefslogtreecommitdiffstats
path: root/Lib/locale.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-06-28 14:48:01 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-06-28 14:48:01 (GMT)
commita05e293a219f0fbaf4301fa7a292b9578a523675 (patch)
treef5ed23b622ef5ba098ca41b890f95aa8caeb43ca /Lib/locale.py
parent7c014684c27ad646107b9f17882f43e7bd96f252 (diff)
downloadcpython-a05e293a219f0fbaf4301fa7a292b9578a523675.zip
cpython-a05e293a219f0fbaf4301fa7a292b9578a523675.tar.gz
cpython-a05e293a219f0fbaf4301fa7a292b9578a523675.tar.bz2
typos fixed by Rob Hooft
Diffstat (limited to 'Lib/locale.py')
-rw-r--r--Lib/locale.py4
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):