summaryrefslogtreecommitdiff
path: root/Lib/idlelib/keybindingDialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/keybindingDialog.py')
-rw-r--r--Lib/idlelib/keybindingDialog.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/keybindingDialog.py b/Lib/idlelib/keybindingDialog.py
index df024e7dc9..b550ec1b12 100644
--- a/Lib/idlelib/keybindingDialog.py
+++ b/Lib/idlelib/keybindingDialog.py
@@ -188,8 +188,7 @@ class GetKeysDialog(Toplevel):
#make a tuple of most of the useful common 'final' keys
keys=(self.alphanumKeys+self.punctuationKeys+self.functionKeys+
self.whitespaceKeys+self.editKeys+self.moveKeys)
- apply(self.listKeysFinal.insert,
- (END,)+keys)
+ self.listKeysFinal.insert(END, *keys)
def TranslateKey(self,key):
#translate from key list value to tkinter key-id