From: Brett Cannon Date: Fri, 31 May 2013 22:00:56 +0000 (-0400) Subject: Add a reference to module_to_load X-Git-Tag: v3.4.0a1~595 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=177381116ee99b7a4cdf4cf56a1d8b932999c8c8;p=thirdparty%2FPython%2Fcpython.git Add a reference to module_to_load --- diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index d6ece97c9ab6..976451c2f0dd 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