[Python-checkins] cpython: Issue #22242: Try to make some import-related loader details clearer.

brett.cannon python-checkins at python.org
Fri Nov 7 17:29:44 CET 2014


https://hg.python.org/cpython/rev/f473063318c3
changeset:   93430:f473063318c3
parent:      93428:b18ef4a3e7c1
user:        Brett Cannon <brett at python.org>
date:        Fri Nov 07 11:29:33 2014 -0500
summary:
  Issue #22242: Try to make some import-related loader details clearer.

Thanks to Jon Poler for pointing this out.

files:
  Doc/reference/import.rst |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst
--- a/Doc/reference/import.rst
+++ b/Doc/reference/import.rst
@@ -459,7 +459,8 @@
 
     * 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
 -----------

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list