commit | 86a8be00ed5266550a3d97a3c065f7a22018b6a6 | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Sat Feb 20 18:47:09 2016 -0800 |
committer | Brett Cannon <brett@python.org> | Sat Feb 20 18:47:09 2016 -0800 |
tree | 29614b830ef0cca9ad3577f8e0d025016ff47766 | |
parent | 4cbab346dfcea1f221bfb0811fabed8dfb435e7e [diff] |
Fix a name in an example
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 @@ 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: