diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2015-05-16 03:54:59 (GMT) |
---|---|---|
committer | Eric Snow <ericsnowcurrently@gmail.com> | 2015-05-16 03:54:59 (GMT) |
commit | 183a941bc148533a299c39123e7d6fe33c655c36 (patch) | |
tree | f8bb69a80e851056d6cff3c34723f97606392e41 /Lib/importlib/abc.py | |
parent | 188c18d48fe28232a972bc4ff7821de164e625bf (diff) | |
download | cpython-183a941bc148533a299c39123e7d6fe33c655c36.zip cpython-183a941bc148533a299c39123e7d6fe33c655c36.tar.gz cpython-183a941bc148533a299c39123e7d6fe33c655c36.tar.bz2 |
Issue #24192: Fix namespace package imports.
Diffstat (limited to 'Lib/importlib/abc.py')
-rw-r--r-- | Lib/importlib/abc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/importlib/abc.py b/Lib/importlib/abc.py index d1f0364..11af22d 100644 --- a/Lib/importlib/abc.py +++ b/Lib/importlib/abc.py @@ -1,4 +1,5 @@ """Abstract base classes related to import.""" +from . import _bootstrap from . import _bootstrap_external from . import machinery try: @@ -152,7 +153,7 @@ class Loader(metaclass=abc.ABCMeta): """ if not hasattr(self, 'exec_module'): raise ImportError - return _bootstrap_external._load_module_shim(self, fullname) + return _bootstrap._load_module_shim(self, fullname) def module_repr(self, module): """Return a module's repr. |