From: Brett Cannon Date: Sun, 21 Feb 2016 02:47:09 +0000 (-0800) Subject: Fix a name in an example X-Git-Tag: v3.6.0a1~589 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86a8be00ed5266550a3d97a3c065f7a22018b6a6;p=thirdparty%2FPython%2Fcpython.git Fix a name in an example --- diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 17a65aab05a8..2bb586c393e9 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: