8000 Docs: fix typos in documentation (#118752) · python/cpython@7b0c247 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b0c247

Browse files
authored
Docs: fix typos in documentation (#118752)
1 parent c68311d commit 7b0c247

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Doc/library/email.message.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The :class:`EmailMessage` dictionary-like interface is indexed by the header
4141
names, which must be ASCII values. The values of the dictionary are strings
4242
with some extra methods. Headers are stored and returned in case-preserving
4343
form, but field names are matched case-insensitively. The keys are ordered,
44-
but unlike a real dict, there can be duplicates. Addtional methods are
44+
but unlike a real dict, there can be duplicates. Additional methods are
4545
provided for working with headers that have duplicate keys.
4646

4747
The *payload* is either a string or bytes object, in the case of simple message

Doc/library/idle.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ Several non-character keys move the cursor and possibly
429429
delete characters. Deletion does not puts text on the clipboard,
430430
but IDLE has an undo list. Wherever this doc discusses keys,
431431
'C' refers to the :kbd:`Control` key on Windows and
432-
Unix and the :kbd:`Command` key on macOS. (And all such dicussions
432+
Unix and the :kbd:`Command` key on macOS. (And all such discussions
433433
assume that the keys have not been re-bound to something else.)
434434

435435
* Arrow keys move the cursor one character or line.

Doc/library/pyexpat.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ XMLParser Objects
210210
by default until a sufficient amount of input is reached.
211211
Due to this delay, registered handlers may — depending of the sizing of
212212
input chunks pushed to Expat — no longer be called right after pushing new
213-
input to the parser. Where immediate feedback and taking over responsiblity
213+
input to the parser. Where immediate feedback and taking over responsibility
214214
of protecting against denial of service from large tokens are both wanted,
215215
calling ``SetReparseDeferralEnabled(False)`` disables reparse deferral
216216
for the current Expat parser instance, temporarily or altogether.

Doc/library/sys.monitoring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ events, use the expression ``PY_RETURN | PY_START``.
160160

161161
.. monitoring-event:: NO_EVENTS
162162

163-
An alias for ``0`` so users can do explict comparisions like::
163+
An alias for ``0`` so users can do explicit comparisons like::
164164

165165
if get_events(DEBUGGER_ID) == NO_EVENTS:
166166
...

0 commit comments

Comments
 (0)
0