diff options
author | Guido van Rossum <guido@python.org> | 1992-03-31 19:04:48 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-03-31 19:04:48 (GMT) |
commit | 25d7cafd8a0650c9ca5185e095f85745b229acdc (patch) | |
tree | 40fa47bc8b8e76f18f53558957811cfa0402b358 /Lib/cmpcache.py | |
parent | 3bc034bb7982078514acb829dcd95ffe67ea2d48 (diff) | |
download | cpython-25d7cafd8a0650c9ca5185e095f85745b229acdc.zip cpython-25d7cafd8a0650c9ca5185e095f85745b229acdc.tar.gz cpython-25d7cafd8a0650c9ca5185e095f85745b229acdc.tar.bz2 |
posix -> os
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. |