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
pgen
Python.asdl -rw-r--r-- 5.3 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 12.6 KB
asdl_c.py -rw-r--r-- 44.3 KB
grammar1.c -rw-r--r-- 1.0 KB
listnode.c -rw-r--r-- 1.2 KB
myreadline.c -rw-r--r-- 11.6 KB
node.c -rw-r--r-- 5.1 KB
parser.c -rw-r--r-- 12.4 KB
parser.h -rw-r--r-- 1.4 KB
parsetok.c -rw-r--r-- 14.2 KB
token.c -rw-r--r-- 4.5 KB
tokenizer.c -rw-r--r-- 55.9 KB
tokenizer.h -rw-r--r-- 3.7 KB

back to top