mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Whitespace normalization.
This commit is contained in:
parent
b0ead4ea4a
commit
230a60c6ec
7 changed files with 27 additions and 28 deletions
|
@ -272,7 +272,7 @@ def _parse_localename(localename):
|
|||
# since some systems may use other encodings for these
|
||||
# locales. Also, we ignore other modifiers.
|
||||
return code, 'iso-8859-15'
|
||||
|
||||
|
||||
if '.' in code:
|
||||
return code.split('.')[:2]
|
||||
elif code == 'C':
|
||||
|
@ -420,7 +420,7 @@ else:
|
|||
return result
|
||||
else:
|
||||
return nl_langinfo(CODESET)
|
||||
|
||||
|
||||
|
||||
### Database
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue