mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
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)
This commit is contained in:
parent
04f1d37471
commit
0de65807e6
28 changed files with 111 additions and 1 deletions
|
@ -6,6 +6,9 @@ There are functions to reset the cache or to selectively remove items.
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue