mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Clean up a docstring.
This commit is contained in:
parent
f3a42dee9a
commit
feccc09952
2 changed files with 113 additions and 128 deletions
|
@ -1151,12 +1151,7 @@ def _setup(sys_module, _imp_module):
|
|||
|
||||
|
||||
def _install(sys_module, _imp_module):
|
||||
"""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.
|
||||
|
||||
"""
|
||||
"""Install importlib as the implementation of import."""
|
||||
_setup(sys_module, _imp_module)
|
||||
extensions = ExtensionFileLoader, _imp_module.extension_suffixes(), False
|
||||
source = SourceFileLoader, _SOURCE_SUFFIXES, True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue