SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds)

This commit is contained in:
Raymond Hettinger 2003-07-09 18:48:24 +00:00
parent a4d2b869b9
commit 931237e2e6
10 changed files with 14 additions and 16 deletions

View file

@ -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