mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
|
@ -155,8 +155,7 @@ class PackDialog(Dialog):
|
|||
def set(self, e=None):
|
||||
self.current = self.var.get()
|
||||
try:
|
||||
apply(self.dialog.widget.pack, (),
|
||||
{self.option: self.current})
|
||||
self.dialog.widget.pack(**{self.option: self.current})
|
||||
except TclError, msg:
|
||||
print msg
|
||||
self.refresh()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue