importlib.invalidate_caches()

importlib.invalidate_caches()

Invalidate the internal caches of finders stored at sys.meta_path. If a finder implements invalidate_caches() then it will be called to perform the invalidation. This function should be called if any modules are created/installed while your program is running to guarantee all finders will notice the new module’s existence.

New in version 3.3.

doc_python
2016-10-07 17:34:40
Comments
Leave a Comment

Please login to continue.