[Python-checkins] cpython: Add a reference to module_to_load

brett.cannon python-checkins at python.org
Sat Jun 1 00:03:29 CEST 2013

changeset:   83996:ea3af5f5e6bc
parent:      83994:ebd11a19d830
user:        Brett Cannon <brett at python.org>
date:        Fri May 31 18:00:56 2013 -0400
  Add a reference to module_to_load

  Doc/library/importlib.rst |  3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -242,8 +242,7 @@
         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

Repository URL: http://hg.python.org/cpython

More information about the Python-checkins mailing list