summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/_bootstrap.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-05-04 20:47:54 (GMT)
committerBrett Cannon <brett@python.org>2012-05-04 20:47:54 (GMT)
commitfeccc09952f3a49517829d582da744dc2157bcca (patch)
treee6ad16d1c87e81f2c67eae1a122d771e2220dc1e /Lib/importlib/_bootstrap.py
parentf3a42dee9a44fd052285078aff009e8d0451d4fa (diff)
downloadcpython-feccc09952f3a49517829d582da744dc2157bcca.zip
cpython-feccc09952f3a49517829d582da744dc2157bcca.tar.gz
cpython-feccc09952f3a49517829d582da744dc2157bcca.tar.bz2
Clean up a docstring.
Diffstat (limited to 'Lib/importlib/_bootstrap.py')
-rw-r--r--Lib/importlib/_bootstrap.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
index 4eab318..1e6a05a 100644
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -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