parameters: (cls)
docstring: Call the invalidate_caches() method on all path entry finders
          stored in sys.path_importer_caches (where implemented).
docstring_summary: Call the invalidate_caches() method on all path entry finders
          stored in sys.path_importer_caches (where implemented).
docstring_tokens: Call the invalidate_caches () method on all path entry finders stored in sys . path_importer_caches ( where implemented ) .
function: def invalidate_caches(cls):
          """Call the invalidate_caches() method on all path entry finders
          stored in sys.path_importer_caches (where implemented)."""
          for name, finder in list(sys.path_importer_cache.items()):
              if finder is None:
                  del sys.path_importer_cache[name]
              elif hasattr(finder, 'invalidate_caches'):
                  finder.invalidate_caches()
function_tokens: def invalidate_caches ( cls ) : for name , finder in list ( sys . path_importer_cache . items ( ) ) : if finder is None : del sys . path_importer_cache [ name ] elif hasattr ( finder , 'invalidate_caches' ) : finder . invalidate_caches ( )