summaryrefslogtreecommitdiff
path: root/Lib/sched.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sched.py')
-rw-r--r--Lib/sched.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sched.py b/Lib/sched.py
index ba5f33a6ae..2b599eed90 100644
--- a/Lib/sched.py
+++ b/Lib/sched.py
@@ -102,5 +102,5 @@ class scheduler:
self.delayfunc(time - now)
else:
del q[0]
- void = apply(action, argument)
+ void = action(*argument)
self.delayfunc(0) # Let other threads run