Call the invalidate_caches() method on all meta path finders stored in sys.meta_path (where implemented).
()
| 61 | |
| 62 | |
| 63 | def 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 | |
| 71 | def import_module(name, package=None): |
no test coverage detected
searching dependent graphs…