commit | bb5fbc4af9ee68428c26a3a2e2b1f6747a787473 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue Feb 08 08:05:13 2005 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Tue Feb 08 08:05:13 2005 +0000 |
tree | 96859e3051f7f1a06a245740c0eb60dea1b4f132 | |
parent | 9aa890a14933f7dc8adf625513ea34116911f758 [diff] |
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