Commit c04ddee8 authored by Antoine Pitrou's avatar Antoine Pitrou

Merge

parents 9a86447c feccc099
...@@ -1151,12 +1151,7 @@ def _setup(sys_module, _imp_module): ...@@ -1151,12 +1151,7 @@ def _setup(sys_module, _imp_module):
def _install(sys_module, _imp_module): def _install(sys_module, _imp_module):
"""Install importlib as the implementation of import. """Install importlib as the implementation of import."""
It is assumed that _imp and sys have been imported and injected into the
global namespace for the module prior to calling this function.
"""
_setup(sys_module, _imp_module) _setup(sys_module, _imp_module)
extensions = ExtensionFileLoader, _imp_module.extension_suffixes(), False extensions = ExtensionFileLoader, _imp_module.extension_suffixes(), False
source = SourceFileLoader, _SOURCE_SUFFIXES, True source = SourceFileLoader, _SOURCE_SUFFIXES, True
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment