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.
2 parents e5f4d3c + 27c712e commit fe1941eCopy full SHA for fe1941e
1 file changed
Doc/library/importlib.rst
@@ -1281,7 +1281,8 @@ an :term:`importer`.
1281
:meth:`~importlib.abc.Loader.exec_module` as control over what module type
1282
is used for the module is required. For those same reasons, the loader's
1283
:meth:`~importlib.abc.Loader.create_module` method will be ignored (i.e., the
1284
- loader's method should only return ``None``). Finally,
+ loader's method should only return ``None``; this excludes
1285
+ :class:`BuiltinImporter` and :class:`ExtensionFileLoader`). Finally,
1286
modules which substitute the object placed into :attr:`sys.modules` will
1287
not work as there is no way to properly replace the module references
1288
throughout the interpreter safely; :exc:`ValueError` is raised if such a
0 commit comments