(original) (raw)

changeset: 78010:5d43154d68a8 user: Amaury Forgeot d'Arc amauryfa@gmail.com date: Sun Jul 08 21:03:01 2012 +0200 files: Lib/importlib/_bootstrap.py description: Issue #15110: Copy same docstring as other '_exec_module' methods. diff -r 37e68da59047 -r 5d43154d68a8 Lib/importlib/_bootstrap.py --- a/Lib/importlib/_bootstrap.py Sun Jul 08 20:52:38 2012 +0200 +++ b/Lib/importlib/_bootstrap.py Sun Jul 08 21:03:01 2012 +0200 @@ -498,6 +498,9 @@ @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 /amauryfa@gmail.com