Commit 6fc1ef5f authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

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

parent cd6d0ec6
......@@ -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
......
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