Mercurial > cpython-lru_cache-weakref
diff Lib/statcache.py @ 16613:f68dbffff927 legacy-trunk
bunch more __all__ lists
also modified check_all function to suppress all warnings since they aren't
relevant to what this test is doing (allows quiet checking of regsub, for
instance)
| author | Skip Montanaro <skip@pobox.com> |
|---|---|
| date | Thu, 15 Feb 2001 22:15:14 +0000 |
| parents | 861bf8dcfb58 |
| children | e2f2187c3d2c |
line wrap: on
line diff
--- a/Lib/statcache.py Thu Feb 15 17:00:40 2001 +0000 +++ b/Lib/statcache.py Thu Feb 15 22:15:14 2001 +0000 @@ -6,6 +6,9 @@ import os as _os from stat import * +__all__ = ["stat","reset","forget","forget_prefix","forget_dir", + "forget_except_prefix","isdir"] + # The cache. Keys are pathnames, values are os.stat outcomes. # Remember that multiple threads may be calling this! So, e.g., that # cache.has_key(path) returns 1 doesn't mean the cache will still contain
