mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
[3.12] Backport idlelib typos (#124324)
See https://github.com/python/cpython/pull/123597.
(cherry picked from commit 1f4a49e
)
Co-authored-by: abstractee
This commit is contained in:
parent
cf39a5f22c
commit
7d505fecc9
4 changed files with 4 additions and 4 deletions
|
@ -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?)
|
(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.
|
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
|
PSF Trademark Working Group / Committee psf-trademarks@python.org
|
||||||
https://www.python.org/community/logos/ # Original files
|
https://www.python.org/community/logos/ # Original files
|
||||||
https://www.python.org/psf/trademarks-faq/
|
https://www.python.org/psf/trademarks-faq/
|
||||||
|
|
|
@ -600,7 +600,7 @@ class IdleConf:
|
||||||
"""
|
"""
|
||||||
# TODO: = dict(sorted([(v-event, keys), ...]))?
|
# TODO: = dict(sorted([(v-event, keys), ...]))?
|
||||||
keyBindings={
|
keyBindings={
|
||||||
# vitual-event: list of key events.
|
# virtual-event: list of key events.
|
||||||
'<<copy>>': ['<Control-c>', '<Control-C>'],
|
'<<copy>>': ['<Control-c>', '<Control-C>'],
|
||||||
'<<cut>>': ['<Control-x>', '<Control-X>'],
|
'<<cut>>': ['<Control-x>', '<Control-X>'],
|
||||||
'<<paste>>': ['<Control-v>', '<Control-V>'],
|
'<<paste>>': ['<Control-v>', '<Control-V>'],
|
||||||
|
|
|
@ -914,7 +914,7 @@ class EditorWindow:
|
||||||
def ApplyKeybindings(self):
|
def ApplyKeybindings(self):
|
||||||
"""Apply the virtual, configurable keybindings.
|
"""Apply the virtual, configurable keybindings.
|
||||||
|
|
||||||
Alse update hotkeys to current keyset.
|
Also update hotkeys to current keyset.
|
||||||
"""
|
"""
|
||||||
# Called from configdialog.activate_config_changes.
|
# Called from configdialog.activate_config_changes.
|
||||||
self.mainmenu.default_keydefs = keydefs = idleConf.GetCurrentKeySet()
|
self.mainmenu.default_keydefs = keydefs = idleConf.GetCurrentKeySet()
|
||||||
|
|
|
@ -52,7 +52,7 @@ should probably be refined in the future.)
|
||||||
|
|
||||||
Extensions are not required to define menu entries for all the events they
|
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
|
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:
|
Here is a partial example from zzdummy.py:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue