summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-02-21 02:47:09 (GMT)
committerBrett Cannon <brett@python.org>2016-02-21 02:47:09 (GMT)
commit86a8be00ed5266550a3d97a3c065f7a22018b6a6 (patch)
tree29614b830ef0cca9ad3577f8e0d025016ff47766 /Doc
parent4cbab346dfcea1f221bfb0811fabed8dfb435e7e (diff)
downloadcpython-86a8be00ed5266550a3d97a3c065f7a22018b6a6.zip
cpython-86a8be00ed5266550a3d97a3c065f7a22018b6a6.tar.gz
cpython-86a8be00ed5266550a3d97a3c065f7a22018b6a6.tar.bz2
Fix a name in an example
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/importlib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 17a65aa..2bb586c3 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -1389,7 +1389,7 @@ Python 3.6 and newer for other parts of the code).
break
else:
raise ImportError(f'No module named {absolute_name!r}')
- module = util.module_from_spec(spec)
+ module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
sys.modules[absolute_name] = module
if path is not None: