commit | 27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839 | [log] [tgz] |
---|---|---|
author | Géry Ogam <gery.ogam@gmail.com> | Wed Oct 21 23:17:35 2020 +0200 |
committer | GitHub <noreply@github.com> | Wed Oct 21 14:17:35 2020 -0700 |
tree | dcab2a276f5f5b44190f2f7bb865d2e891809d2d | |
parent | f8b1ccd63c94bcde1c15d56d24add89861b6ceee [diff] |
bpo-35181: Correct importlib documentation for some module attributes (GH-15190) @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