]> granicus.if.org Git - python/commit
Module review:
authorRaymond Hettinger <python@rcn.com>
Thu, 27 Feb 2003 00:05:31 +0000 (00:05 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 27 Feb 2003 00:05:31 +0000 (00:05 +0000)
commit05595e9d73b2c05fcd9492cf8f5d126282b82053
tree89d4fc53593a8579415721fa50b06ddc910450a3
parentb2e0b92ef16b0a4752fa32822af986486439b80f
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.
Lib/filecmp.py