diff options
Diffstat (limited to 'Lib/cmpcache.py')
-rw-r--r-- | Lib/cmpcache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/cmpcache.py b/Lib/cmpcache.py index 20202e2..d59fa60 100644 --- a/Lib/cmpcache.py +++ b/Lib/cmpcache.py @@ -9,7 +9,7 @@ # - We keep a cache of outcomes of earlier comparisons # - We don't fork a process to run 'cmp' but read the files ourselves -import posix +import os from stat import * import statcache @@ -20,7 +20,7 @@ cache = {} # Compare two files, use the cache if possible. -# May raise posix.error if a stat or open of either fails. +# May raise os.error if a stat or open of either fails. # def cmp(f1, f2): # Return 1 for identical files, 0 for different. |