PathFinder.
invalidate_caches
An optional method for clearing the finder’s cache, if any. This method is used by importlib.invalidate_caches().