summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-02-20 18:40:18 -0800
committerBrett Cannon <brett@python.org>2016-02-20 18:40:18 -0800
commitfe1941ebf87de4fe9761d81b477c67964eea982e (patch)
tree902264e47dae556ca090d087d08825ffccde9431
parente5f4d3c2460bdedfcff196cb7399e407db69aa73 (diff)
parent27c712e149f4fab576a73c458412cfa4bdb63ddc (diff)
downloadcpython-git-fe1941ebf87de4fe9761d81b477c67964eea982e.tar.gz
Merge w/ 3.5
-rw-r--r--Doc/library/importlib.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 6a972fbd64..4d429bbb56 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -1281,7 +1281,8 @@ an :term:`importer`.
:meth:`~importlib.abc.Loader.exec_module` as control over what module type
is used for the module is required. For those same reasons, the loader's
:meth:`~importlib.abc.Loader.create_module` method will be ignored (i.e., the
- loader's method should only return ``None``). Finally,
+ loader's method should only return ``None``; this excludes
+ :class:`BuiltinImporter` and :class:`ExtensionFileLoader`). Finally,
modules which substitute the object placed into :attr:`sys.modules` will
not work as there is no way to properly replace the module references
throughout the interpreter safely; :exc:`ValueError` is raised if such a