mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
typos fixed by Rob Hooft
This commit is contained in:
parent
7c014684c2
commit
a05e293a21
32 changed files with 41 additions and 41 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue