diff options
author | Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-10-21 21:27:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 21:27:10 (GMT) |
commit | 916ac9520108831d2099b13992a45884b112b193 (patch) | |
tree | da87b69166b04aff4336a2a3ac386e9606921e04 /Lib/idlelib/help.py | |
parent | ba666747af83aa465ffa8b55efbbb7f992647e12 (diff) | |
download | cpython-916ac9520108831d2099b13992a45884b112b193.zip cpython-916ac9520108831d2099b13992a45884b112b193.tar.gz cpython-916ac9520108831d2099b13992a45884b112b193.tar.bz2 |
bpo-35181: Correct importlib documentation for some module attributes (GH-15190)
@ericsnowcurrently This PR will change the following:
In the library documentation importlib.rst:
- `module.__package__` can be `module.__name__` for packages;
- `spec.parent` can be `spec.__name__` for packages;
- `spec.loader` is not `None` for namespaces packages.
In the language documentation import.rst:
- `spec.loader` is not `None` for namespace packages.
Automerge-Triggered-By: GH:warsaw
(cherry picked from commit 27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
Diffstat (limited to 'Lib/idlelib/help.py')
0 files changed, 0 insertions, 0 deletions