mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds)
This commit is contained in:
parent
a4d2b869b9
commit
931237e2e6
10 changed files with 14 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue