cpython/Misc/NEWS.d/next/Documentation/2019-07-12-15-09-56.bpo-375...

6 lines
222 B
ReStructuredText

Fix `importlib` examples to insert any newly created modules via
importlib.util.module_from_spec() immediately into sys.modules instead of
after calling loader.exec_module().
Thanks to Benjamin Mintz for finding the bug.