def invalidate_caches():
    for finder in sys.meta_path:
        if hasattr(finder, 'invalidate_caches'):
            finder.invalidate_caches()
Call the invalidate_caches() method on all meta path finders stored in
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/importlib/__init__.py/invalidate_caches