summaryrefslogtreecommitdiffstats
path: root/Doc/reference/import.rst
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-11-07 16:29:33 (GMT)
committerBrett Cannon <brett@python.org>2014-11-07 16:29:33 (GMT)
commitd0c4ef175bae537041595bd20a1457b533a0360a (patch)
tree6150e477ae9660364b9abb9e912d413e5f4b8c31 /Doc/reference/import.rst
parent85e7066278775ca762215186edb117fb2c7cc2dc (diff)
downloadcpython-d0c4ef175bae537041595bd20a1457b533a0360a.zip
cpython-d0c4ef175bae537041595bd20a1457b533a0360a.tar.gz
cpython-d0c4ef175bae537041595bd20a1457b533a0360a.tar.bz2
Issue #22242: Try to make some import-related loader details clearer.
Thanks to Jon Poler for pointing this out.
Diffstat (limited to 'Doc/reference/import.rst')
-rw-r--r--Doc/reference/import.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst
index e9b7e53..dbb2e0a 100644
--- a/Doc/reference/import.rst
+++ b/Doc/reference/import.rst
@@ -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
-----------