https://github.com/python/cpython/commit/f04d2b8819eb37d5439b7437f1e80a1e5c5c4f07
commit: f04d2b8819eb37d5439b7437f1e80a1e5c5c4f07
branch: main
author: Weilin Du <[email protected]>
committer: terryjreedy <[email protected]>
date: 2025-06-29T02:47:38-04:00
summary:
Doc: Fix duplicate words in idlelib (#136089)
files:
M Lib/idlelib/configdialog.py
M Lib/idlelib/debugger.py
M Lib/idlelib/editor.py
M Lib/idlelib/idle_test/htest.py
M Misc/ACKS
diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py
index 4d2adb48570d49..e618ef07a90271 100644
--- a/Lib/idlelib/configdialog.py
+++ b/Lib/idlelib/configdialog.py
@@ -435,7 +435,7 @@ def on_fontlist_select(self, event):
self.font_name.set(font.lower())
def set_samples(self, event=None):
- """Update update both screen samples with the font settings.
+ """Update both screen samples with the font settings.
Called on font initialization and change events.
Accesses font_name, font_size, and font_bold Variables.
diff --git a/Lib/idlelib/debugger.py b/Lib/idlelib/debugger.py
index d90dbcd11f9f61..1fae1d4b0adbd7 100644
--- a/Lib/idlelib/debugger.py
+++ b/Lib/idlelib/debugger.py
@@ -1,6 +1,6 @@
"""Debug user code with a GUI interface to a subclass of bdb.Bdb.
-The Idb idb and Debugger gui instances each need a reference to each
+The Idb instance 'idb' and Debugger instance 'gui' need references to each
other or to an rpc proxy for each other.
If IDLE is started with '-n', so that user code and idb both run in the
diff --git a/Lib/idlelib/editor.py b/Lib/idlelib/editor.py
index c76db20c58792d..17b498f63ba43b 100644
--- a/Lib/idlelib/editor.py
+++ b/Lib/idlelib/editor.py
@@ -1649,7 +1649,7 @@ def tokeneater(self, type, token, start, end, line,
self.finished = 1
def run(self):
- """Return 2 lines containing block opener and and indent.
+ """Return 2 lines containing block opener and indent.
Either the indent line or both may be None.
"""
diff --git a/Lib/idlelib/idle_test/htest.py b/Lib/idlelib/idle_test/htest.py
index a7293774eecaeb..b63ff9ec2877b9 100644
--- a/Lib/idlelib/idle_test/htest.py
+++ b/Lib/idlelib/idle_test/htest.py
@@ -337,7 +337,7 @@
'file': 'tree',
'kwds': {},
'msg': "The canvas is scrollable.\n"
- "Click on folders up to to the lowest level."
+ "Click on folders up to the lowest level."
}
_undo_delegator_spec = {
diff --git a/Misc/ACKS b/Misc/ACKS
index 6ab50763feadd9..d1490e1e46ccfd 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -478,6 +478,7 @@ Dean Draayer
Fred L. Drake, Jr.
Mehdi Drissi
Derk Drukker
+Weilin Du
John DuBois
Paul Dubois
Jacques Ducasse
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]