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
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 8.5 KB
README.rst -rw-r--r-- 4.6 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.7 KB
conf.py -rw-r--r-- 7.0 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 52.3 KB
license.rst -rw-r--r-- 46.5 KB
make.bat -rw-r--r-- 5.5 KB
requirements.txt -rw-r--r-- 381 bytes

README.rst

back to top