MCPcopy Index your code
hub / github.com/python/cpython / invalidate_caches

Function invalidate_caches

Lib/importlib/__init__.py:63–68  ·  view source on GitHub ↗

Call the invalidate_caches() method on all meta path finders stored in sys.meta_path (where implemented).

()

Source from the content-addressed store, hash-verified

61
62
63def invalidate_caches():
64 """Call the invalidate_caches() method on all meta path finders stored in
65 sys.meta_path (where implemented)."""
66 for finder in sys.meta_path:
67 if hasattr(finder, 'invalidate_caches'):
68 finder.invalidate_caches()
69
70
71def import_module(name, package=None):

Callers 1

temp_moduleFunction · 0.90

Calls 1

invalidate_cachesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…