cpython: Add a reference to module_to_load
http://hg.python.org/cpython/rev/ea3af5f5e6bc changeset: 83996:ea3af5f5e6bc parent: 83994:ebd11a19d830 user: Brett Cannon <brett@python.org> date: Fri May 31 18:00:56 2013 -0400 summary: Add a reference to module_to_load files: 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
participants (1)
-
brett.cannon