diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-02 12:12:23 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-02 12:12:23 +0200 |
commit | 1a05d6c04d2a499a7485b15668f2eb37f9f60e3a (patch) | |
tree | ce59d6ed99f5db6b3fc544bda74f2ba14b211d0f /Lib/encodings/__init__.py | |
parent | issue23591: add docs; code cleanup; more tests (diff) | |
download | cpython-1a05d6c04d2a499a7485b15668f2eb37f9f60e3a.tar.gz cpython-1a05d6c04d2a499a7485b15668f2eb37f9f60e3a.tar.bz2 cpython-1a05d6c04d2a499a7485b15668f2eb37f9f60e3a.zip |
PEP 7 style for if/else in C
Add also a newline for readability in normalize_encoding().
Diffstat (limited to 'Lib/encodings/__init__.py')
-rw-r--r-- | Lib/encodings/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/encodings/__init__.py b/Lib/encodings/__init__.py index 8dd713056ef..320011bd0eb 100644 --- a/Lib/encodings/__init__.py +++ b/Lib/encodings/__init__.py @@ -54,6 +54,7 @@ def normalize_encoding(encoding): """ if isinstance(encoding, bytes): encoding = str(encoding, "ascii") + chars = [] punct = False for c in encoding: |