summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/__init__.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-08 20:19:19 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-08 20:19:19 (GMT)
commit469cdad8228df7bc294dc946b8cd4c0b7f810735 (patch)
treed2ce468dd141967a43a9930735226d4183400c2c /Lib/encodings/__init__.py
parentd7e8a0dd372a928749674f5f5fd11a96115e0801 (diff)
downloadcpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.zip
cpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.tar.gz
cpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/encodings/__init__.py')
-rw-r--r--Lib/encodings/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/encodings/__init__.py b/Lib/encodings/__init__.py
index e3b97ae..9fc96d7 100644
--- a/Lib/encodings/__init__.py
+++ b/Lib/encodings/__init__.py
@@ -39,7 +39,7 @@ class CodecRegistryError(exceptions.LookupError,
pass
def search_function(encoding):
-
+
# Cache lookup
entry = _cache.get(encoding, _unknown)
if entry is not _unknown:
@@ -72,8 +72,8 @@ def search_function(encoding):
if mod is None:
# Cache misses
_cache[encoding] = None
- return None
-
+ return None
+
# Now ask the module for the registry entry
entry = tuple(getregentry())
if len(entry) != 4: