summaryrefslogtreecommitdiffstats
path: root/Lib/encodings
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-12-24 18:31:27 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-12-24 18:31:27 (GMT)
commit6578dc925ff0a7953ae50c7ac41a81b0bd54762e (patch)
tree664ef0a4ee41d78a05928ba63fd1bcdbc27fbebd /Lib/encodings
parent75bfd0585b9f197845fd7a429715807175c33e9f (diff)
downloadcpython-6578dc925ff0a7953ae50c7ac41a81b0bd54762e.zip
cpython-6578dc925ff0a7953ae50c7ac41a81b0bd54762e.tar.gz
cpython-6578dc925ff0a7953ae50c7ac41a81b0bd54762e.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/encodings')
-rw-r--r--Lib/encodings/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/__init__.py b/Lib/encodings/__init__.py
index b2542b8..66bea5c 100644
--- a/Lib/encodings/__init__.py
+++ b/Lib/encodings/__init__.py
@@ -46,7 +46,7 @@ def normalize_encoding(encoding):
characters except the dot used for Python package names are
collapsed and replaced with a single underscore, e.g. ' -;#'
becomes '_'.
-
+
"""
return '_'.join(_norm_encoding_RE.split(encoding))