summaryrefslogtreecommitdiffstats
path: root/examples2/aclock.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples2/aclock.py')
-rwxr-xr-xexamples2/aclock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples2/aclock.py b/examples2/aclock.py
index 3c04e20..66283ef 100755
--- a/examples2/aclock.py
+++ b/examples2/aclock.py
@@ -8,7 +8,7 @@ def TQMIN(x, y):
return x
class AnalogClock(TQWidget):
def __init__(self, *args):
- apply(TQWidget.__init__,(self,) + args)
+ TQWidget.__init__(*(self,) + args)
self.time = TQTime.currentTime()
internalTimer = TQTimer(self)
self.connect(internalTimer, SIGNAL("timeout()"), self.timeout)