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
Raw File
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
CODE_OF_CONDUCT.md
# Code of Conduct

Please note that all interactions on
[Python Software Foundation](https://www.python.org/psf-landing/)-supported
infrastructure is [covered](https://www.python.org/psf/records/board/minutes/2014-01-06/#management-of-the-psfs-web-properties)
by the [PSF Code of Conduct](https://www.python.org/psf/codeofconduct/),
which includes all the infrastructure used in the development of Python itself
(e.g. mailing lists, issue trackers, GitHub, etc.).

In general, this means that everyone is expected to be **open**, **considerate**, and
**respectful** of others no matter what their position is within the project.

back to top