summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-05-31 22:00:56 (GMT)
committerBrett Cannon <brett@python.org>2013-05-31 22:00:56 (GMT)
commit177381116ee99b7a4cdf4cf56a1d8b932999c8c8 (patch)
tree010f697f564e524739558bb56eaef8652b66e2ae /Doc/library
parentc7a28256813c0b694638b4c53d66594b5a056942 (diff)
downloadcpython-177381116ee99b7a4cdf4cf56a1d8b932999c8c8.zip
cpython-177381116ee99b7a4cdf4cf56a1d8b932999c8c8.tar.gz
cpython-177381116ee99b7a4cdf4cf56a1d8b932999c8c8.tar.bz2
Add a reference to module_to_load
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/importlib.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index d6ece97..976451c 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -242,8 +242,7 @@ ABC hierarchy::
from the import. If the loader inserted a module and the load fails, it
must be removed by the loader from :data:`sys.modules`; modules already
in :data:`sys.modules` before the loader began execution should be left
- alone. The :func:`importlib.util.module_for_loader` decorator handles
- all of these details.
+ alone (see :func:`importlib.util.module_to_load`).
The loader should set several attributes on the module.
(Note that some of these attributes can change when a module is