diff options
author | Raymond Hettinger <python@rcn.com> | 2003-07-09 18:48:24 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-07-09 18:48:24 (GMT) |
commit | 931237e2e66975c54e2ac6c5e503ee2992a22bcf (patch) | |
tree | e5b750f23a7b670cbcc58930c70e7324725afd2f /Lib/idlelib/keybindingDialog.py | |
parent | a4d2b869b9d582abcad178d930374a26a6e743fb (diff) | |
download | cpython-931237e2e66975c54e2ac6c5e503ee2992a22bcf.zip cpython-931237e2e66975c54e2ac6c5e503ee2992a22bcf.tar.gz cpython-931237e2e66975c54e2ac6c5e503ee2992a22bcf.tar.bz2 |
SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds)
Diffstat (limited to 'Lib/idlelib/keybindingDialog.py')
-rw-r--r-- | Lib/idlelib/keybindingDialog.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/keybindingDialog.py b/Lib/idlelib/keybindingDialog.py index df024e7..b550ec1 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 |