Commit 1ced17df authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Issue #15110: Copy same docstring as other '_exec_module' methods.

parent ae7b8f07
...@@ -498,6 +498,9 @@ class BuiltinImporter: ...@@ -498,6 +498,9 @@ class BuiltinImporter:
@classmethod @classmethod
def _exec_module(cls, fullname): 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) return _imp.init_builtin(fullname)
@classmethod @classmethod
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment