mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
@ -296,7 +296,7 @@ def MultiCallCreator(widget):
|
|||
assert issubclass(widget, Tkinter.Misc)
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
apply(widget.__init__, (self,)+args, kwargs)
|
||||
widget.__init__(self, *args, **kwargs)
|
||||
# a dictionary which maps a virtual event to a tuple with:
|
||||
# 0. the function binded
|
||||
# 1. a list of triplets - the sequences it is binded to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue