From: Amaury Forgeot d'Arc Date: Sun, 8 Jul 2012 19:03:01 +0000 (+0200) Subject: Issue #15110: Copy same docstring as other '_exec_module' methods. X-Git-Tag: v3.3.0b2~271 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ced17dfe9ee17d35badd1dacc38cc12c1158c8c;p=thirdparty%2FPython%2Fcpython.git Issue #15110: Copy same docstring as other '_exec_module' methods. --- diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index 112db4e096e4..d89af428d87c 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -498,6 +498,9 @@ class BuiltinImporter: @classmethod def _exec_module(cls, fullname): + """Helper for load_module, allowing to isolate easily (when + looking at a traceback) whether an error comes from executing + an imported module's code.""" return _imp.init_builtin(fullname) @classmethod