]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Backport idlelib typos (#124325)
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 27 Sep 2024 22:19:44 +0000 (18:19 -0400)
committerGitHub <noreply@github.com>
Fri, 27 Sep 2024 22:19:44 +0000 (15:19 -0700)
See #123597.  The typo in Icon/README.txt was fixed
in the unmerged 3.13 backport #123608 of the
PR that added the text with the typo.

(cherry picked from commit 1f4a49e)

Co-authored-by: abstractee
Lib/idlelib/config.py
Lib/idlelib/editor.py
Lib/idlelib/extend.txt

index 6a5acac9be88886a959a518950c55eaf98c8d88b..d10c88a43f9231d30927f1ed49512d1c401874f5 100644 (file)
@@ -600,7 +600,7 @@ class IdleConf:
         """
         # TODO: = dict(sorted([(v-event, keys), ...]))?
         keyBindings={
-            # vitual-event: list of key events.
+            # virtual-event: list of key events.
             '<<copy>>': ['<Control-c>', '<Control-C>'],
             '<<cut>>': ['<Control-x>', '<Control-X>'],
             '<<paste>>': ['<Control-v>', '<Control-V>'],
index 7bfa0932500d81c9b57056a2dc28e5b11d6214bc..c76db20c58792da9b10ba9e63c9bbcb236922fa6 100644 (file)
@@ -914,7 +914,7 @@ class EditorWindow:
     def ApplyKeybindings(self):
         """Apply the virtual, configurable keybindings.
 
-        Alse update hotkeys to current keyset.
+        Also update hotkeys to current keyset.
         """
         # Called from configdialog.activate_config_changes.
         self.mainmenu.default_keydefs = keydefs = idleConf.GetCurrentKeySet()
index b482f76c4fb0f752e8f761f854fda0fbb1e10f82..2522758ceb4f706c45836ac9a6f55fe89b1a6168 100644 (file)
@@ -52,7 +52,7 @@ should probably be refined in the future.)
 
 Extensions are not required to define menu entries for all the events they
 implement.  (They are also not required to create keybindings, but in that
-case there must be empty bindings in cofig-extensions.def)
+case there must be empty bindings in config-extensions.def)
 
 Here is a partial example from zzdummy.py: