Skip to content

Commit 2df77c8

Browse files
authored
[3.13] Backport idlelib typos (#124325)
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
1 parent 845e039 commit 2df77c8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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)