[Python-checkins] cpython: Clean up a docstring.

brett.cannon python-checkins at python.org
Fri May 4 22:48:09 CEST 2012


http://hg.python.org/cpython/rev/146001e3364d
changeset: 76765:146001e3364d
user: Brett Cannon <brett at python.org>
date: Fri May 04 16:47:54 2012 -0400
summary:
 Clean up a docstring.
files:
 Lib/importlib/_bootstrap.py | 7 +------
 Python/importlib.h | Bin 
 2 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -1151,12 +1151,7 @@
 
 
 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
diff --git a/Python/importlib.h b/Python/importlib.h
index 9c531f013f45b202d3523994af2799d4270339a7..292308fc78123e9fa10c7131bb110c47559975dd
GIT binary patch
[stripped]
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /