Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86a8be0

Browse files
committed
Fix a name in an example
1 parent 4cbab34 commit 86a8be0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/importlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ Python 3.6 and newer for other parts of the code).
13891389
break
13901390
else:
13911391
raise ImportError(f'No module named {absolute_name!r}')
1392-
module = util.module_from_spec(spec)
1392+
module = importlib.util.module_from_spec(spec)
13931393
spec.loader.exec_module(module)
13941394
sys.modules[absolute_name] = module
13951395
if path is not None:

0 commit comments

Comments
 (0)