• Guido van Rossum's avatar
    Fredrik Lundh: · 1916b35f
    Guido van Rossum yazdı
    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 ;-).
    1916b35f
filecmp.py 1.46 KB