From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 27 Oct 2023 13:29:55 +0000 (+0200) Subject: [3.12] Fix typos in import system docs (GH-111396) (#111397) X-Git-Tag: v3.12.1~210 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2014c23de385c444a9eac8ebad84721c39a62b91;p=thirdparty%2FPython%2Fcpython.git [3.12] Fix typos in import system docs (GH-111396) (#111397) Fix typos in import system docs (GH-111396) (cherry picked from commit 9a2f2f46caa556eae4c3ac3b45efa85bd91cc807) Co-authored-by: Jonathan Berthias --- diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst index 1a2677e7562b..a7beeea29b45 100644 --- a/Doc/reference/import.rst +++ b/Doc/reference/import.rst @@ -559,7 +559,7 @@ listed below. functionality, for example getting data associated with a loader. It is **strongly** recommended that you rely on :attr:`__spec__` - instead instead of this attribute. + instead of this attribute. .. versionchanged:: 3.12 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`. It is **strongly** recommended that you rely on :attr:`__spec__` - instead instead of this attribute. + instead of this attribute. .. versionchanged:: 3.6 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. It is **strongly** recommended that you rely on :attr:`__spec__` - instead instead of ``__cached__``. + instead of ``__cached__``. .. _package-path-rules: