An optional method for clearing the finder's cache, if any. This method is used by importlib.invalidate_caches().
(self)
| 41 | # hasattr checks we do to support backward compatibility. |
| 42 | |
| 43 | def invalidate_caches(self): |
| 44 | """An optional method for clearing the finder's cache, if any. |
| 45 | This method is used by importlib.invalidate_caches(). |
| 46 | """ |
| 47 | |
| 48 | def discover(self, parent=None): |
| 49 | """An optional method which searches for possible specs with given *parent* |