mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Add a reference to module_to_load
This commit is contained in:
parent
c7a2825681
commit
177381116e
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue