importlib doc: Fix approximated import_module() code (GH-9945)
The spec gets stored on modules with the __spec__ attribute, not spec.
Showing
Please register or sign in to comment
The spec gets stored on modules with the __spec__ attribute, not spec.