diff options
author | Milan Oberkirch <zvyn@oberkirch.org> | 2017-06-15 07:34:50 +1000 |
---|---|---|
committer | Brett Cannon <brettcannon@users.noreply.github.com> | 2017-06-14 14:34:50 -0700 |
commit | 8c3f05e9f0f0b30a3d4a2433e92471794d8258af (patch) | |
tree | 57f6ae60b1701bf4ca4be1f9db1afce1e2bea795 /Python/Python-ast.c | |
parent | 32fd874afe55e396e3c9a5af35e7bb3d8e0b8f02 (diff) | |
download | cpython-git-8c3f05e9f0f0b30a3d4a2433e92471794d8258af.tar.gz |
bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when parent isn't a package (GH-1899)
Previously AttributeError was raised, but that's not very reflective of the fact that the requested module can't be found since the specified parent isn't actually a package.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions