]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Doc: Fix duplicate words in idlelib (GH-136089) (#136091)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 29 Jun 2025 07:09:36 +0000 (09:09 +0200)
committerGitHub <noreply@github.com>
Sun, 29 Jun 2025 07:09:36 +0000 (07:09 +0000)
Doc: Fix duplicate words in idlelib (GH-136089)
(cherry picked from commit f04d2b8819eb37d5439b7437f1e80a1e5c5c4f07)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Lib/idlelib/configdialog.py
Lib/idlelib/debugger.py
Lib/idlelib/editor.py
Lib/idlelib/idle_test/htest.py
Misc/ACKS

index 4d2adb48570d495e2697fc39f44ba94fae492708..e618ef07a90271c29e5bb1c90e626fa754737761 100644 (file)
@@ -435,7 +435,7 @@ class FontPage(Frame):
         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.
index d90dbcd11f9f61b23390df73240521295a5077eb..1fae1d4b0adbd753c102aab46593e7714c83f86c 100644 (file)
@@ -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
index c76db20c58792da9b10ba9e63c9bbcb236922fa6..17b498f63ba43b45b10d4f92c56610b035352e0d 100644 (file)
@@ -1649,7 +1649,7 @@ class IndentSearcher:
             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.
         """
index a7293774eecaeb957314578baaad65f024b40387..b63ff9ec2877b96ef225d7f8a4073a19b294cd94 100644 (file)
@@ -337,7 +337,7 @@ _tree_widget_spec = {
     '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 = {
index d2fdeb8f3178fefa93203d6a47d0f93a221301c7..d0aaf75ebcc1f7bdd26a435e2d58bccaa5b1c52c 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -475,6 +475,7 @@ Dean Draayer
 Fred L. Drake, Jr.
 Mehdi Drissi
 Derk Drukker
+Weilin Du
 John DuBois
 Paul Dubois
 Jacques Ducasse