E583 Issues #26310, #26311: Fix typos in the documentation and code comments · python/cpython@96a4f07 · GitHub
[go: up one dir, main page]

Skip to content

Commit 96a4f07

Browse files
committed
Issues #26310, #26311: Fix typos in the documentation and code comments
1 parent 763f9f0 commit 96a4f07

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

Doc/library/pyexpat.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,9 +570,9 @@ Content Model Descriptions
570570

571571
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
572572

573-
Content modules are described using nested tuples. Each tuple contains four
573+
Content models are described using nested tuples. Each tuple contains four
574574
values: the type, the quantifier, the name, and a tuple of children. Children
575-
are simply additional content module descriptions.
575+
are simply additional content model descriptions.
576576

577577
The values of the first two fields are constants defined in the
578578
:mod:`xml.parsers.expat.model` module. These constants can be collected in two

Doc/library/tkinter.ttk.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Besides the methods inherited from :class:`Widget`: :meth:`Widget.cget`,
299299
:meth:`Widget.configure`, :meth:`Widget.identify`, :meth:`Widget.instate`
300300
and :meth:`Widget.state`, and the following inherited from :class:`Entry`:
301301
:meth:`Entry.bbox`, :meth:`Entry.delete`, :meth:`Entry.icursor`,
302-
:meth:`Entry.index`, :meth:`Entry.inset`, :meth:`Entry.selection`,
302+
:meth:`Entry.index`, :meth:`Entry.insert`, :meth:`Entry.selection`,
303303
:meth:`Entry.xview`, it has some other methods, described at
304304
:class:`ttk.Combobox`.
305305

Doc/whatsnew/3.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ compileall
914914
----------
915915

916916
A new :mod:`compileall` option, :samp:`-j {N}`, allows to run *N* workers
917-
sumultaneously to perform parallel bytecode compilation.
917+
simultaneously to perform parallel bytecode compilation.
918918
The :func:`~compileall.compile_dir` function has a corresponding ``workers``
919919
parameter. (Contributed by Claudiu Popa in :issue:`16104`.)
920920

Lib/email/headerregistry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class Address:
1717

1818
def __init__(self, display_name='', username='', domain='', addr_spec=None):
19-
"""Create an object represeting a full email address.
19+
"""Create an object representing a full email address.
2020
2121
An address can have a 'display_name', a 'username', and a 'domain'. In
2222
addition to specifying the username and domain separately, they may be

Lib/idlelib/NEWS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ What's New in IDLE 3.5.0?
149149
move version to end.
150150

151151
- Issue #14105: Idle debugger breakpoints no longer disappear
152-
when inseting or deleting lines.
152+
when inserting or deleting lines.
153153

154154
- Issue #17172: Turtledemo can now be run from Idle.
155155
Currently, the entry is on the Help menu, but it may move to Run.

Lib/idlelib/help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Doc/library/idle.rst (Sphinx)=> Doc/build/html/library/idle.html
1212
(help.copy_strip)=> Lib/idlelib/help.html
1313
14-
HelpParser - Parse help.html and and render to tk Text.
14+
HelpParser - Parse help.html and render to tk Text.
1515
1616
HelpText - Display formatted help.html.
1717

Lib/socketserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ class BaseRequestHandler:
671671
client address as self.client_address, and the server (in case it
672672
needs access to per-server information) as self.server. Since a
673673
separate instance is created for each request, the handle() method
674-
can define arbitrary other instance variariables.
674+
can define other arbitrary instance variables.
675675
676676
"""
677677

Misc/NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3448,7 +3448,7 @@ IDLE
34483448
move version to end.
34493449

34503450
- Issue #14105: Idle debugger brea 402E kpoints no longer disappear
3451-
when inseting or deleting lines.
3451+
when inserting or deleting lines.
34523452

34533453
- Issue #17172: Turtledemo can now be run from Idle.
34543454
Currently, the entry is on the Help menu, but it may move to Run.

0 commit comments

Comments
 (0)
0