]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Fix typos in docs and what's new (#123451)
authorWulian <1055917385@qq.com>
Mon, 2 Sep 2024 11:15:02 +0000 (19:15 +0800)
committerGitHub <noreply@github.com>
Mon, 2 Sep 2024 11:15:02 +0000 (13:15 +0200)
Doc/library/importlib.rst
Misc/NEWS.d/3.10.0b1.rst
Misc/NEWS.d/3.12.0a3.rst
Misc/NEWS.d/3.12.0a5.rst

index c7faf8ba21890a855fbad18c4dbd2cc42ef691bd..e408a8489f8eac8b5f5a9a1ff357f0cdf8d41f0d 100644 (file)
@@ -1252,7 +1252,7 @@ find and load modules.
    be only a single binary per framework, and there can be no executable binary
    material outside the Frameworks folder.
 
-   To accomodate this requirement, when running on iOS, extension module
+   To accommodate this requirement, when running on iOS, extension module
    binaries are *not* packaged as ``.so`` files on ``sys.path``, but as
    individual standalone frameworks. To discover those frameworks, this loader
    is be registered against the ``.fwork`` file extension, with a ``.fwork``
index 86e909ea8e126a605f9b211ad8bf9a8464c54ecd..33d71e847e12321f25c58c0852dacbb2156f62dc 100644 (file)
@@ -277,7 +277,7 @@ cause any runtime effects with ``from __future__ import annotations``.
 .. section: Core and Builtins
 
 :exc:`SyntaxError` exceptions raised by the interpreter will highlight the
-full error range of the expression that consistutes the syntax error itself,
+full error range of the expression that constitutes the syntax error itself,
 instead of just where the problem is detected. Patch by Pablo Galindo.
 
 ..
index f6a4dc75d456f44d0cf9e40be9860fdb536b24ba..1fd9bb8bc6a69e8c3babfcb419e9490d832fcb2e 100644 (file)
@@ -221,7 +221,7 @@ returns an invalid file descriptor.
 
 Also \ escape \s in the http.server BaseHTTPRequestHandler.log_message so
 that it is technically possible to parse the line and reconstruct what the
-original data was.  Without this a \xHH is ambiguious as to if it is a hex
+original data was.  Without this a \xHH is ambiguous as to if it is a hex
 replacement we put in or the characters r"\x" came through in the original
 request line.
 
index 9a52f6b70e0b4beab2f76ff21911196b4936a95d..5dc443bb55b617b759792b128d695e3a01496f07 100644 (file)
@@ -287,7 +287,7 @@ a positional argument would lead to a :exc:`TypeError`.
 .. section: Library
 
 Group-related variables of ``_posixsubprocess`` module are renamed to stress
-that supplimentary group affinity is added to a fork, not replace the
+that supplementary group affinity is added to a fork, not replace the
 inherited ones. Patch by Oleg Iarygin.
 
 ..