diff options
author | Brett Cannon <brett@python.org> | 2016-02-21 02:47:09 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2016-02-21 02:47:09 (GMT) |
commit | 86a8be00ed5266550a3d97a3c065f7a22018b6a6 (patch) | |
tree | 29614b830ef0cca9ad3577f8e0d025016ff47766 /Doc | |
parent | 4cbab346dfcea1f221bfb0811fabed8dfb435e7e (diff) | |
download | cpython-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.rst | 2 |
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: |