summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/abc.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/importlib/abc.py')
-rw-r--r--Lib/importlib/abc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/importlib/abc.py b/Lib/importlib/abc.py
index 6b00569..c9c542a 100644
--- a/Lib/importlib/abc.py
+++ b/Lib/importlib/abc.py
@@ -14,7 +14,6 @@ class Loader(metaclass=abc.ABCMeta):
"""Abstract method which when implemented should load a module."""
raise NotImplementedError
-Loader.register(machinery.BuiltinImporter)
Loader.register(machinery.FrozenImporter)
@@ -75,6 +74,8 @@ class InspectLoader(Loader):
module."""
return NotImplementedError
+InspectLoader.register(machinery.BuiltinImporter)
+
class PyLoader(_bootstrap.PyLoader, InspectLoader):