[issue26397] Tweak importlib Example of importlib.import_module() to use importlib.util.module_from_spec()

Brett Cannon report at bugs.python.org
Sat Feb 20 19:59:08 EST 2016


New submission from Brett Cannon:

The example uses `spec.loader.create_module()` where it should be using `util.module_from_spec(spec)`.

----------
assignee: brett.cannon
components: Documentation
messages: 260589
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: Tweak importlib Example of importlib.import_module() to use importlib.util.module_from_spec()
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26397>
_______________________________________


More information about the Python-bugs-list mailing list