mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[3.12] Fix typos in import system docs (GH-111396) (#111397)
Fix typos in import system docs (GH-111396)
(cherry picked from commit 9a2f2f46ca
)
Co-authored-by: Jonathan Berthias <jvberthias@gmail.com>
This commit is contained in:
parent
7d22e85550
commit
2014c23de3
1 changed files with 3 additions and 3 deletions
|
@ -559,7 +559,7 @@ listed below.
|
||||||
functionality, for example getting data associated with a loader.
|
functionality, for example getting data associated with a loader.
|
||||||
|
|
||||||
It is **strongly** recommended that you rely on :attr:`__spec__`
|
It is **strongly** recommended that you rely on :attr:`__spec__`
|
||||||
instead instead of this attribute.
|
instead of this attribute.
|
||||||
|
|
||||||
.. versionchanged:: 3.12
|
.. versionchanged:: 3.12
|
||||||
The value of ``__loader__`` is expected to be the same as
|
The value of ``__loader__`` is expected to be the same as
|
||||||
|
@ -580,7 +580,7 @@ listed below.
|
||||||
relative imports for main modules, as defined in :pep:`366`.
|
relative imports for main modules, as defined in :pep:`366`.
|
||||||
|
|
||||||
It is **strongly** recommended that you rely on :attr:`__spec__`
|
It is **strongly** recommended that you rely on :attr:`__spec__`
|
||||||
instead instead of this attribute.
|
instead of this attribute.
|
||||||
|
|
||||||
.. versionchanged:: 3.6
|
.. versionchanged:: 3.6
|
||||||
The value of ``__package__`` is expected to be the same as
|
The value of ``__package__`` is expected to be the same as
|
||||||
|
@ -650,7 +650,7 @@ listed below.
|
||||||
from a file, that atypical scenario may be appropriate.
|
from a file, that atypical scenario may be appropriate.
|
||||||
|
|
||||||
It is **strongly** recommended that you rely on :attr:`__spec__`
|
It is **strongly** recommended that you rely on :attr:`__spec__`
|
||||||
instead instead of ``__cached__``.
|
instead of ``__cached__``.
|
||||||
|
|
||||||
.. _package-path-rules:
|
.. _package-path-rules:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue