summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/matt/window-creation-w-location.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/matt/window-creation-w-location.py')
-rw-r--r--Demo/tkinter/matt/window-creation-w-location.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/matt/window-creation-w-location.py b/Demo/tkinter/matt/window-creation-w-location.py
index 3f2b5b0..9f23bac 100644
--- a/Demo/tkinter/matt/window-creation-w-location.py
+++ b/Demo/tkinter/matt/window-creation-w-location.py
@@ -13,7 +13,7 @@ class QuitButton(Button):
kwargs["text"] = "QUIT"
if not kwargs.has_key("command"):
kwargs["command"] = master.quit
- apply(Button.__init__, (self, master) + args, kwargs)
+ Button.__init__(self, master, *args, **kwargs)
class Test(Frame):
def makeWindow(self, *args):