]> granicus.if.org Git - python/commitdiff
Issue #15110: Copy same docstring as other '_exec_module' methods.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Sun, 8 Jul 2012 19:03:01 +0000 (21:03 +0200)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Sun, 8 Jul 2012 19:03:01 +0000 (21:03 +0200)
Lib/importlib/_bootstrap.py

index 112db4e096e4994c76020f81a29604507dbed926..d89af428d87c9cd60107c163aa0a423bfc02da61 100644 (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