Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 558823a commit 27c712eCopy full SHA for 27c712e
1 file changed
Doc/library/importlib.rst
@@ -1273,7 +1273,8 @@ an :term:`importer`.
1273
:meth:`~importlib.abc.Loader.exec_module` as control over what module type
1274
is used for the module is required. For those same reasons, the loader's
1275
:meth:`~importlib.abc.Loader.create_module` method will be ignored (i.e., the
1276
- loader's method should only return ``None``). Finally,
+ loader's method should only return ``None``; this excludes
1277
+ :class:`BuiltinImporter` and :class:`ExtensionFileLoader`). Finally,
1278
modules which substitute the object placed into :attr:`sys.modules` will
1279
not work as there is no way to properly replace the module references
1280
throughout the interpreter safely; :exc:`ValueError` is raised if such a
0 commit comments