summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/abc.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-10-06 00:20:18 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-10-06 00:20:18 (GMT)
commit3472fafe745954d1882658f21e54865662f62788 (patch)
treeb2d4640ab49a69f6ecbc0a3de565da5be1c3fa3c /Lib/importlib/abc.py
parentf77cdbeff71b24debf32c9c6605148ae002be5e2 (diff)
parent9259c21a63ea5c342936a18317d455f747248b2f (diff)
downloadcpython-3472fafe745954d1882658f21e54865662f62788.zip
cpython-3472fafe745954d1882658f21e54865662f62788.tar.gz
cpython-3472fafe745954d1882658f21e54865662f62788.tar.bz2
merge
Diffstat (limited to 'Lib/importlib/abc.py')
-rw-r--r--Lib/importlib/abc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/abc.py b/Lib/importlib/abc.py
index dcbe010..01de67d 100644
--- a/Lib/importlib/abc.py
+++ b/Lib/importlib/abc.py
@@ -188,7 +188,7 @@ class InspectLoader(Loader):
load_module = _bootstrap._LoaderBasics.load_module
_register(InspectLoader, machinery.BuiltinImporter, machinery.FrozenImporter,
- machinery.ExtensionFileLoader, _bootstrap.NamespaceLoader)
+ _bootstrap.NamespaceLoader)
class ExecutionLoader(InspectLoader):
@@ -237,7 +237,7 @@ class ExecutionLoader(InspectLoader):
super().init_module_attrs(module)
_bootstrap._init_file_attrs(self, module)
-_register(machinery.ExtensionFileLoader)
+_register(ExecutionLoader, machinery.ExtensionFileLoader)
class FileLoader(_bootstrap.FileLoader, ResourceLoader, ExecutionLoader):