diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-02 10:12:23 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-02 10:12:23 (GMT) |
commit | 1a05d6c04d2a499a7485b15668f2eb37f9f60e3a (patch) | |
tree | ce59d6ed99f5db6b3fc544bda74f2ba14b211d0f /Lib/encodings | |
parent | 65a5a47d799184bf69c8f0eb6004c701ff8f7d90 (diff) | |
download | cpython-1a05d6c04d2a499a7485b15668f2eb37f9f60e3a.zip cpython-1a05d6c04d2a499a7485b15668f2eb37f9f60e3a.tar.gz cpython-1a05d6c04d2a499a7485b15668f2eb37f9f60e3a.tar.bz2 |
PEP 7 style for if/else in C
Add also a newline for readability in normalize_encoding().
Diffstat (limited to 'Lib/encodings')
-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 8dd7130..320011b 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: |