Issue #15110: Copy same docstring as other '_exec_module' methods.
This commit is contained in:
parent
ae7b8f07c1
commit
1ced17dfe9
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user