mirror of
https://github.com/python/cpython.git
synced 2025-10-29 20:51:26 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
|
@ -13,7 +13,7 @@ def __init__(self, master, *args, **kwargs):
|
|||
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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue