summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/guido/kill.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/guido/kill.py')
-rwxr-xr-xDemo/tkinter/guido/kill.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/guido/kill.py b/Demo/tkinter/guido/kill.py
index e7df261..dd0dbf4 100755
--- a/Demo/tkinter/guido/kill.py
+++ b/Demo/tkinter/guido/kill.py
@@ -9,7 +9,7 @@ import os
class BarButton(Menubutton):
def __init__(self, master=None, **cnf):
- apply(Menubutton.__init__, (self, master), cnf)
+ Menubutton.__init__(self, master, **cnf)
self.pack(side=LEFT)
self.menu = Menu(self, name='menu')
self['menu'] = self.menu