]> granicus.if.org Git - python/commitdiff
Add a reference to module_to_load
authorBrett Cannon <brett@python.org>
Fri, 31 May 2013 22:00:56 +0000 (18:00 -0400)
committerBrett Cannon <brett@python.org>
Fri, 31 May 2013 22:00:56 +0000 (18:00 -0400)
Doc/library/importlib.rst

index d6ece97c9ab6c2d238ec56d698ce8a02e71cb717..976451c2f0dd755620597cd607555b18ea550179 100644 (file)
@@ -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