Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ find_spec
Method
find_spec
Lib/test/test_importlib/test_threaded_import.py:88–89 ·
view source on GitHub ↗
(self, name, path=None, target=None)
Source
from the content-addressed store, hash-verified
86
called.
""
"
87
88
def
find_spec(self, name, path=None, target=None):
89
sys.path_importer_cache.clear()
90
91
92
class
ThreadedImportTests(unittest.TestCase):
Callers
1
test_parallel_path_hooks
Method · 0.95
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected