From 177381116ee99b7a4cdf4cf56a1d8b932999c8c8 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 31 May 2013 18:00:56 -0400 Subject: Add a reference to module_to_load --- Doc/library/importlib.rst | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v0.12