Skip to content

Commit 7df3eee

Browse files
[3.14] Doc: Fix duplicate words in idlelib (GH-136089) (#136090)
Doc: Fix duplicate words in idlelib (GH-136089) (cherry picked from commit f04d2b8) Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
1 parent c66b54f commit 7df3eee

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

Lib/idlelib/configdialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def on_fontlist_select(self, event):
435435
self.font_name.set(font.lower())
436436

437437
def set_samples(self, event=None):
438-
"""Update update both screen samples with the font settings.
438+
"""Update both screen samples with the font settings.
439439
440440
Called on font initialization and change events.
441441
Accesses font_name, font_size, and font_bold Variables.

Lib/idlelib/debugger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Debug user code with a GUI interface to a subclass of bdb.Bdb.
22
3-
The Idb idb and Debugger gui instances each need a reference to each
3+
The Idb instance 'idb' and Debugger instance 'gui' need references to each
44
other or to an rpc proxy for each other.
55
66
If IDLE is started with '-n', so that user code and idb both run in the

Lib/idlelib/editor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,7 @@ def tokeneater(self, type, token, start, end, line,
16491649
self.finished = 1
16501650

16511651
def run(self):
1652-
"""Return 2 lines containing block opener and and indent.
1652+
"""Return 2 lines containing block opener and indent.
16531653
16541654
Either the indent line or both may be None.
16551655
"""

Lib/idlelib/idle_test/htest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
'file': 'tree',
338338
'kwds': {},
339339
'msg': "The canvas is scrollable.\n"
340-
"Click on folders up to to the lowest level."
340+
"Click on folders up to the lowest level."
341341
}
342342

343343
_undo_delegator_spec = {

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ Dean Draayer
478478
Fred L. Drake, Jr.
479479
Mehdi Drissi
480480
Derk Drukker
481+
Weilin Du
481482
John DuBois
482483
Paul Dubois
483484
Jacques Ducasse

0 commit comments

Comments
 (0)