]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fredrik Lundh:
authorGuido van Rossum <guido@python.org>
Tue, 28 Mar 2000 21:42:38 +0000 (21:42 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 28 Mar 2000 21:42:38 +0000 (21:42 +0000)
commit1916b35f5864b2bfe5e2687b7db4fc0c329c9402
tree090f73a5814f9b21764bc479b732bc42fdfb1cda
parent8f11d8e52ee8457e250d9f96e14327adf40d0855
Fredrik Lundh:

The new filecmp module has an optional argument called use_statcache
which is documented as a true/false value, but used as an tuple index.

This patches replaces the tuple stuff with a good old if- statement,
and also removes a few other tuple pack/unpack constructs (if not
else, this saves a few bytes in the PYC file, and a few microseconds
when using the module ;-).
Lib/filecmp.py