Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe1941e

Browse files
committed
Merge w/ 3.5
2 parents e5f4d3c + 27c712e commit fe1941e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/importlib.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,8 @@ an :term:`importer`.
12811281
:meth:`~importlib.abc.Loader.exec_module` as control over what module type
12821282
is used for the module is required. For those same reasons, the loader's
12831283
:meth:`~importlib.abc.Loader.create_module` method will be ignored (i.e., the
1284-
loader's method should only return ``None``). Finally,
1284+
loader's method should only return ``None``; this excludes
1285+
:class:`BuiltinImporter` and :class:`ExtensionFileLoader`). Finally,
12851286
modules which substitute the object placed into :attr:`sys.modules` will
12861287
not work as there is no way to properly replace the module references
12871288
throughout the interpreter safely; :exc:`ValueError` is raised if such a

0 commit comments

Comments
 (0)