diff options
Diffstat (limited to 'Lib/importlib/abc.py')
-rw-r--r-- | Lib/importlib/abc.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/importlib/abc.py b/Lib/importlib/abc.py index cd687e8f44..387567a450 100644 --- a/Lib/importlib/abc.py +++ b/Lib/importlib/abc.py @@ -78,10 +78,7 @@ class PathEntryFinder(Finder): """ raise NotImplementedError - def find_module(self, fullname): - """Compatibility function which is the equivalent of - self.find_loader(fullname)[0].""" - return self.find_loader(fullname)[0] + find_module = _bootstrap._find_module_shim def invalidate_caches(self): """An optional method for clearing the finder's cache, if any. |