Skip to content

Commit 7d505fe

Browse files
authored
[3.12] Backport idlelib typos (#124324)
See #123597. (cherry picked from commit 1f4a49e) Co-authored-by: abstractee
1 parent cf39a5f commit 7d505fe

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Lib/idlelib/Icons/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ As of 2022, this was known true for 1 'major' Linux distribution.
3737
(Same would be true for any non-Aqua macOS with 8.5, but now none?)
3838
Can be deleted when we require 8.6 or it is known always used.
3939

40-
Future: Derivitives of Python logo should be submitted for approval.
40+
Future: Derivatives of Python logo should be submitted for approval.
4141
PSF Trademark Working Group / Committee [email protected]
4242
https://www.python.org/community/logos/ # Original files
4343
https://www.python.org/psf/trademarks-faq/

Lib/idlelib/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def GetCoreKeys(self, keySetName=None):
600600
"""
601601
# TODO: = dict(sorted([(v-event, keys), ...]))?
602602
keyBindings={
603-
# vitual-event: list of key events.
603+
# virtual-event: list of key events.
604604
'<<copy>>': ['<Control-c>', '<Control-C>'],
605605
'<<cut>>': ['<Control-x>', '<Control-X>'],
606606
'<<paste>>': ['<Control-v>', '<Control-V>'],

Lib/idlelib/editor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ def RemoveKeybindings(self):
914914
def ApplyKeybindings(self):
915915
"""Apply the virtual, configurable keybindings.
916916
917-
Alse update hotkeys to current keyset.
917+
Also update hotkeys to current keyset.
918918
"""
919919
# Called from configdialog.activate_config_changes.
920920
self.mainmenu.default_keydefs = keydefs = idleConf.GetCurrentKeySet()

Lib/idlelib/extend.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ should probably be refined in the future.)
5252

5353
Extensions are not required to define menu entries for all the events they
5454
implement. (They are also not required to create keybindings, but in that
55-
case there must be empty bindings in cofig-extensions.def)
55+
case there must be empty bindings in config-extensions.def)
5656

5757
Here is a partial example from zzdummy.py:
5858

0 commit comments

Comments
 (0)