]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: fix typos in documentation (#118752)
authorXie Yanbo <xieyanbo@gmail.com>
Wed, 8 May 2024 18:20:40 +0000 (02:20 +0800)
committerGitHub <noreply@github.com>
Wed, 8 May 2024 18:20:40 +0000 (12:20 -0600)
Doc/library/email.message.rst
Doc/library/idle.rst
Doc/library/pyexpat.rst
Doc/library/sys.monitoring.rst

index adea067e082615371c75bc89db4e10ddfa2ca10e..c10e1b50d4903b5129e27aa5eadb0fb0feed572e 100644 (file)
@@ -41,7 +41,7 @@ The :class:`EmailMessage` dictionary-like interface is indexed by the header
 names, which must be ASCII values.  The values of the dictionary are strings
 with some extra methods.  Headers are stored and returned in case-preserving
 form, but field names are matched case-insensitively.  The keys are ordered,
-but unlike a real dict, there can be duplicates.  Addtional methods are
+but unlike a real dict, there can be duplicates.  Additional methods are
 provided for working with headers that have duplicate keys.
 
 The *payload* is either a string or bytes object, in the case of simple message
index 17a5144b4c0635fc063b8c10b80ae57d76c55940..59b181aab3e48415394b8a84e3544f358ca4cc10 100644 (file)
@@ -429,7 +429,7 @@ Several non-character keys move the cursor and possibly
 delete characters.  Deletion does not puts text on the clipboard,
 but IDLE has an undo list.  Wherever this doc discusses keys,
 'C' refers to the :kbd:`Control` key on Windows and
-Unix and the :kbd:`Command` key on macOS.  (And all such dicussions
+Unix and the :kbd:`Command` key on macOS.  (And all such discussions
 assume that the keys have not been re-bound to something else.)
 
 * Arrow keys move the cursor one character or line.
index c4b4e6319277af929d56062dc9fbe958828369d6..2c048b8290d014502e9c2b2949461425301bc4b8 100644 (file)
@@ -210,7 +210,7 @@ XMLParser Objects
    by default until a sufficient amount of input is reached.
    Due to this delay, registered handlers may — depending of the sizing of
    input chunks pushed to Expat — no longer be called right after pushing new
-   input to the parser.  Where immediate feedback and taking over responsiblity
+   input to the parser.  Where immediate feedback and taking over responsibility
    of protecting against denial of service from large tokens are both wanted,
    calling ``SetReparseDeferralEnabled(False)`` disables reparse deferral
    for the current Expat parser instance, temporarily or altogether.
index 0e0095e108e9c063fdf6371ff490351bb6f44558..583266daeb56a105bed56e024044be84b396f381 100644 (file)
@@ -160,7 +160,7 @@ events, use the expression ``PY_RETURN | PY_START``.
 
 .. monitoring-event:: NO_EVENTS
 
-    An alias for ``0`` so users can do explict comparisions like::
+    An alias for ``0`` so users can do explicit comparisons like::
 
       if get_events(DEBUGGER_ID) == NO_EVENTS:
           ...