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