diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 08:00:19 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 08:00:19 +0000 |
commit | d91085598f5185b267ea51a3f615da9527af2ed2 (patch) | |
tree | 80849b9455438e9963a61d7aff3fc3b060213553 /Demo/tkinter/guido/AttrDialog.py | |
parent | fe55464f393fc002fd0911a4d8dba6694723d408 (diff) | |
download | cpython-git-d91085598f5185b267ea51a3f615da9527af2ed2.tar.gz |
Remove apply()
Diffstat (limited to 'Demo/tkinter/guido/AttrDialog.py')
-rwxr-xr-x | Demo/tkinter/guido/AttrDialog.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Demo/tkinter/guido/AttrDialog.py b/Demo/tkinter/guido/AttrDialog.py index 86333adc7d..9fa699e287 100755 --- a/Demo/tkinter/guido/AttrDialog.py +++ b/Demo/tkinter/guido/AttrDialog.py @@ -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() |