From 1ced17dfe9ee17d35badd1dacc38cc12c1158c8c Mon Sep 17 00:00:00 2001 From: Amaury Forgeot d'Arc Date: Sun, 8 Jul 2012 21:03:01 +0200 Subject: Issue #15110: Copy same docstring as other '_exec_module' methods. --- Lib/importlib/_bootstrap.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index 112db4e..d89af42 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 -- cgit v0.12