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

This commit is contained in:
Amaury Forgeot d'Arc 2012-07-08 21:03:01 +02:00
parent ae7b8f07c1
commit 1ced17dfe9
1 changed files with 3 additions and 0 deletions

View File

@ -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