mirror of
https://github.com/python/cpython.git
synced 2025-09-11 19:27:07 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue