summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r--Lib/idlelib/EditorWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 6deb4f2..d574b05 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -792,7 +792,7 @@ class EditorWindow:
text.keydefs = keydefs
for event, keylist in keydefs.items():
if keylist:
- apply(text.event_add, (event,) + tuple(keylist))
+ text.event_add(event, *keylist)
def fill_menus(self, defs=None, keydefs=None):
"""Add appropriate entries to the menus and submenus