]> granicus.if.org Git - python/commitdiff
Issue #22242: Try to make some import-related loader details clearer.
authorBrett Cannon <brett@python.org>
Fri, 7 Nov 2014 16:29:33 +0000 (11:29 -0500)
committerBrett Cannon <brett@python.org>
Fri, 7 Nov 2014 16:29:33 +0000 (11:29 -0500)
Thanks to Jon Poler for pointing this out.

Doc/reference/import.rst

index e9b7e53247d70fe5fa881e4b9b84b05f2b156fd3..dbb2e0a6719ede4b5c130f2e5979c783bf6ce280 100644 (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
 -----------