summaryrefslogtreecommitdiffstats
path: root/Lib/locale.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-11-09 05:08:07 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-11-09 05:08:07 (GMT)
commit230a60c6ec4861342278fb4546ebc907baf3b23b (patch)
tree00135e543b64638036efcacdc9d5dbfde7988959 /Lib/locale.py
parentb0ead4ea4a1e0f4e5dc2a00110be8038586c9e21 (diff)
downloadcpython-230a60c6ec4861342278fb4546ebc907baf3b23b.zip
cpython-230a60c6ec4861342278fb4546ebc907baf3b23b.tar.gz
cpython-230a60c6ec4861342278fb4546ebc907baf3b23b.tar.bz2
Whitespace normalization.
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 8a26744..3551261 100644
--- a/Lib/locale.py
+++ b/Lib/locale.py
@@ -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
#