Commits

Amaury Forgeot d'Arc committed 5d43154

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

  • Participants
  • Parent commits 37e68da

Comments (0)

Files changed (1)

Lib/importlib/_bootstrap.py

 
     @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