diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-08-08 20:19:19 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-08-08 20:19:19 (GMT) |
commit | 469cdad8228df7bc294dc946b8cd4c0b7f810735 (patch) | |
tree | d2ce468dd141967a43a9930735226d4183400c2c /Lib/encodings/__init__.py | |
parent | d7e8a0dd372a928749674f5f5fd11a96115e0801 (diff) | |
download | cpython-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__.py | 6 |
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: |