From 89cfda3d550dda1976ee87bca407b70718778b7c Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sun, 22 Sep 2024 21:28:45 -0400 Subject: [PATCH] [3.12] Backport idlelib typos See https://github.com/python/cpython/pull/123597. (cherry picked from commit 1f4a49e) Co-authored-by: abstractee --- Lib/idlelib/Icons/README.txt | 2 +- Lib/idlelib/config.py | 2 +- Lib/idlelib/editor.py | 2 +- Lib/idlelib/extend.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/idlelib/Icons/README.txt b/Lib/idlelib/Icons/README.txt index f285637d534a68..e245bc0b26e121 100644 --- a/Lib/idlelib/Icons/README.txt +++ b/Lib/idlelib/Icons/README.txt @@ -37,7 +37,7 @@ As of 2022, this was known true for 1 'major' Linux distribution. (Same would be true for any non-Aqua macOS with 8.5, but now none?) Can be deleted when we require 8.6 or it is known always used. -Future: Derivitives of Python logo should be submitted for approval. +Future: Derivatives of Python logo should be submitted for approval. PSF Trademark Working Group / Committee psf-trademarks@python.org https://www.python.org/community/logos/ # Original files https://www.python.org/psf/trademarks-faq/ diff --git a/Lib/idlelib/config.py b/Lib/idlelib/config.py index 6a5acac9be8888..d10c88a43f9231 100644 --- a/Lib/idlelib/config.py +++ b/Lib/idlelib/config.py @@ -600,7 +600,7 @@ def GetCoreKeys(self, keySetName=None): """ # TODO: = dict(sorted([(v-event, keys), ...]))? keyBindings={ - # vitual-event: list of key events. + # virtual-event: list of key events. '<>': ['', ''], '<>': ['', ''], '<>': ['', ''], diff --git a/Lib/idlelib/editor.py b/Lib/idlelib/editor.py index 7bfa0932500d81..c76db20c58792d 100644 --- a/Lib/idlelib/editor.py +++ b/Lib/idlelib/editor.py @@ -914,7 +914,7 @@ def RemoveKeybindings(self): 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() diff --git a/Lib/idlelib/extend.txt b/Lib/idlelib/extend.txt index b482f76c4fb0f7..2522758ceb4f70 100644 --- a/Lib/idlelib/extend.txt +++ b/Lib/idlelib/extend.txt @@ -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: