diff Lib/idlelib/MultiCall.py @ 37048:c048a09d06ff

Remove apply()
author Neal Norwitz <nnorwitz@gmail.com>
date Fri, 17 Mar 2006 08:00:19 +0000
parents 8fd46b660e66
children e86c0b29b4a2
line wrap: on
line diff
--- a/Lib/idlelib/MultiCall.py	Fri Mar 17 06:58:45 2006 +0000
+++ b/Lib/idlelib/MultiCall.py	Fri Mar 17 08:00:19 2006 +0000
@@ -296,7 +296,7 @@
         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