Issue #22242: Try to make some import-related loader details clearer.

Thanks to Jon Poler for pointing this out.
This commit is contained in:
Brett Cannon 2014-11-07 11:29:33 -05:00
parent 85e7066278
commit d0c4ef175b

View file

@ -459,7 +459,8 @@ import machinery will create the new module itself.
* If loading fails, the loader must remove any modules it has inserted
into :data:`sys.modules`, but it must remove **only** the failing
module, and only if the loader itself has loaded it explicitly.
module(s), and only if the loader itself has loaded the module(s)
explicitly.
Module spec
-----------