diff options
author | Raymond Hettinger <python@rcn.com> | 2005-02-08 08:05:13 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-02-08 08:05:13 (GMT) |
commit | bb5fbc4af9ee68428c26a3a2e2b1f6747a787473 (patch) | |
tree | 96859e3051f7f1a06a245740c0eb60dea1b4f132 /Lib/test/test_codecs.py | |
parent | 9aa890a14933f7dc8adf625513ea34116911f758 (diff) | |
download | cpython-bb5fbc4af9ee68428c26a3a2e2b1f6747a787473.zip cpython-bb5fbc4af9ee68428c26a3a2e2b1f6747a787473.tar.gz cpython-bb5fbc4af9ee68428c26a3a2e2b1f6747a787473.tar.bz2 |
Wholistic code cleanup / modernization:
* Use +=
* Replace loop logic with str.splitlines equivalent
* Don't use variable names that shadow tuple, list, and str
* Use dict.get instead of equivalent try/except
* Minor loop logic simplications
Diffstat (limited to 'Lib/test/test_codecs.py')
0 files changed, 0 insertions, 0 deletions