diff options
author | Géry Ogam <gery.ogam@gmail.com> | 2020-10-21 23:17:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 14:17:35 -0700 |
commit | 27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839 (patch) | |
tree | dcab2a276f5f5b44190f2f7bb865d2e891809d2d /Lib/test/encoded_modules | |
parent | f8b1ccd63c94bcde1c15d56d24add89861b6ceee (diff) | |
download | cpython-git-27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839.tar.gz |
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
Diffstat (limited to 'Lib/test/encoded_modules')
0 files changed, 0 insertions, 0 deletions