diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2012-07-08 19:03:01 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2012-07-08 19:03:01 (GMT) |
commit | 1ced17dfe9ee17d35badd1dacc38cc12c1158c8c (patch) | |
tree | 9ca15c7c8b66b3c1539b2272fce7402621b23b1a /Lib/importlib/_bootstrap.py | |
parent | ae7b8f07c15c32f7779cdd4aacc777e7dd447601 (diff) | |
download | cpython-1ced17dfe9ee17d35badd1dacc38cc12c1158c8c.zip cpython-1ced17dfe9ee17d35badd1dacc38cc12c1158c8c.tar.gz cpython-1ced17dfe9ee17d35badd1dacc38cc12c1158c8c.tar.bz2 |
Issue #15110: Copy same docstring as other '_exec_module' methods.
Diffstat (limited to 'Lib/importlib/_bootstrap.py')
-rw-r--r-- | Lib/importlib/_bootstrap.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |