]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
importlib doc: Fix approximated import_module() code (GH-9945)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Oct 2018 23:38:00 +0000 (16:38 -0700)
committerGitHub <noreply@github.com>
Wed, 24 Oct 2018 23:38:00 +0000 (16:38 -0700)
commit917efd8d7bc392490c62d9d0fd6dec4a74855b08
tree308b80e3d37ecbb4eb0052cea5176c79862e5808
parentf2679afda06d1eeaf34852e49bbcf4fb39736d19
importlib doc: Fix approximated import_module() code (GH-9945)

The spec gets stored on modules with the __spec__ attribute, not spec.
(cherry picked from commit 78401f7156034f713170b8e87b51d23ebdc3bdfa)

Co-authored-by: orlnub123 <orlnub123@gmail.com>
Doc/library/importlib.rst