summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-11-17 14:33:14 (GMT)
committerBrett Cannon <brett@python.org>2012-11-17 14:33:14 (GMT)
commit10f19812b54c5aa96e33335bed56247be97e0cc8 (patch)
treeeb33db574a146171b3a98418c8502ed5f63088cc /Lib/importlib
parentac6ca3dc021d80ae3d4075fd6f4d27942484f743 (diff)
parent56b4ca78d8cd30e6f2a1292fa9d7004ef157f68c (diff)
downloadcpython-10f19812b54c5aa96e33335bed56247be97e0cc8.zip
cpython-10f19812b54c5aa96e33335bed56247be97e0cc8.tar.gz
cpython-10f19812b54c5aa96e33335bed56247be97e0cc8.tar.bz2
Merge fix for #16489 from 3.3
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/importlib/__init__.py b/Lib/importlib/__init__.py
index 6f40dac..22c90f2 100644
--- a/Lib/importlib/__init__.py
+++ b/Lib/importlib/__init__.py
@@ -55,7 +55,9 @@ def find_loader(name, path=None):
value of 'path' given to the finders. None is returned if no loader could
be found.
- Dotted names do not have their parent packages implicitly imported.
+ Dotted names do not have their parent packages implicitly imported. You will
+ most likely need to explicitly import all parent packages in the proper
+ order for a submodule to get the correct loader.
"""
try: