Mercurial > cpython-lru_cache-weakref
diff Lib/cmpcache.py @ 776:7259e96a04a9 legacy-trunk
posix -> os
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 31 Mar 1992 19:04:48 +0000 |
| parents | 683edb0c4463 |
| children | 3ba17305f047 |
line wrap: on
line diff
--- a/Lib/cmpcache.py Tue Mar 31 19:03:19 1992 +0000 +++ b/Lib/cmpcache.py Tue Mar 31 19:04:48 1992 +0000 @@ -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 @@ # 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.
