Staging
v0.5.1
https://github.com/python/cpython
Revision 27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839 authored by Géry Ogam on 21 October 2020, 21:17:35 UTC, committed by GitHub on 21 October 2020, 21:17:35 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
1 parent f8b1ccd
History
Tip revision: 27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839 authored by Géry Ogam on 21 October 2020, 21:17:35 UTC
bpo-35181: Correct importlib documentation for some module attributes (GH-15190)
Tip revision: 27f1bd8
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.9 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.4 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 13.6 KB
Makefile.pre.in -rw-r--r-- 67.7 KB
README.rst -rw-r--r-- 10.0 KB
aclocal.m4 -rw-r--r-- 13.1 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 500.1 KB
configure.ac -rw-r--r-- 169.0 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.5 KB
setup.py -rw-r--r-- 108.7 KB

README.rst

back to top