summaryrefslogtreecommitdiffstats
path: root/Misc/Porting
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-02-27 00:05:31 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-02-27 00:05:31 (GMT)
commit05595e9d73b2c05fcd9492cf8f5d126282b82053 (patch)
tree89d4fc53593a8579415721fa50b06ddc910450a3 /Misc/Porting
parentb2e0b92ef16b0a4752fa32822af986486439b80f (diff)
downloadcpython-05595e9d73b2c05fcd9492cf8f5d126282b82053.zip
cpython-05595e9d73b2c05fcd9492cf8f5d126282b82053.tar.gz
cpython-05595e9d73b2c05fcd9492cf8f5d126282b82053.tar.bz2
Module review:
* Changed variable name from 'list' to 'flist'. * Replaced "while 1" with "while True". * Replaced if/elif/elif/elif structure with a shorter and faster dispatch dictionary that maps attrs to methods. * Simplified and sped comparison logic by using ifilter, ifilterfalse, and dict.fromkeys. * Used True and False rather than 1 and 0.
Diffstat (limited to 'Misc/Porting')
0 files changed, 0 insertions, 0 deletions