https://github.com/python/cpython/commit/2df77c8daf9dc436e75753f40e7e6f9a7255b946
commit: 2df77c8daf9dc436e75753f40e7e6f9a7255b946
branch: 3.13
author: Terry Jan Reedy <[email protected]>
committer: Yhg1s <[email protected]>
date: 2024-09-27T15:19:44-07:00
summary:
[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
files:
M Lib/idlelib/config.py
M Lib/idlelib/editor.py
M Lib/idlelib/extend.txt
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.
'<<copy>>': ['<Control-c>', '<Control-C>'],
'<<cut>>': ['<Control-x>', '<Control-X>'],
'<<paste>>': ['<Control-v>', '<Control-V>'],
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:
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]