aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-08 21:13:42 +0200
committerGitHub <noreply@github.com>2024-05-08 19:13:42 +0000
commite652dae6ebefd9ce55bb7e15a176cd0b3ff1303f (patch)
tree6f1b0cf453b3c6fb1babd0df07d0a275093de695
parent656491783d2be0fe36feef5085a2406a05abbd66 (diff)
downloadcpython3-e652dae6ebefd9ce55bb7e15a176cd0b3ff1303f.tar.gz
[3.12] Docs: fix typos in documentation (GH-118752) (#118786)
Docs: fix typos in documentation (GH-118752) (cherry picked from commit 7b0c247f1c176e092777fce4677a00f22c738b3c) Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
-rw-r--r--Doc/library/email.message.rst2
-rw-r--r--Doc/library/idle.rst2
-rw-r--r--Doc/library/pyexpat.rst2
-rw-r--r--Doc/library/sys.monitoring.rst2
4 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst
index adea067e08..c10e1b50d4 100644
--- a/Doc/library/email.message.rst
+++ b/Doc/library/email.message.rst
@@ -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
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst
index 17a5144b4c..59b181aab3 100644
--- a/Doc/library/idle.rst
+++ b/Doc/library/idle.rst
@@ -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.
diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst
index cb05375b39..9cc761db54 100644
--- a/Doc/library/pyexpat.rst
+++ b/Doc/library/pyexpat.rst
@@ -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.
diff --git a/Doc/library/sys.monitoring.rst b/Doc/library/sys.monitoring.rst
index 762581b7ed..8b1a28b44f 100644
--- a/Doc/library/sys.monitoring.rst
+++ b/Doc/library/sys.monitoring.rst
@@ -163,7 +163,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:
...