Staging
v0.5.1
https://github.com/python/cpython
Revision 916ac9520108831d2099b13992a45884b112b193 authored by Miss Skeleton (bot) on 21 October 2020, 21:27:10 UTC, committed by GitHub on 21 October 2020, 21:27:10 UTC

@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>
1 parent ba66674
History
Tip revision: 916ac9520108831d2099b13992a45884b112b193 authored by Miss Skeleton (bot) on 21 October 2020, 21:27:10 UTC
bpo-35181: Correct importlib documentation for some module attributes (GH-15190)
Tip revision: 916ac95
File Mode Size
workflows
CODEOWNERS -rw-r--r-- 2.7 KB
CONTRIBUTING.rst -rw-r--r-- 2.4 KB
PULL_REQUEST_TEMPLATE.md -rw-r--r-- 700 bytes
SECURITY.md -rw-r--r-- 530 bytes
codecov.yml -rw-r--r-- 485 bytes

back to top