diff options
author | Guido van Rossum <guido@python.org> | 2003-02-27 20:14:51 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-27 20:14:51 (GMT) |
commit | 68468eba635570400f607e140425a222018e56f9 (patch) | |
tree | 2176c8822392383a88caa0a2209a1d2f3446d45c /Lib/sched.py | |
parent | f389c7727362321a91dbaff13b7e1cef6cbaa3d8 (diff) | |
download | cpython-68468eba635570400f607e140425a222018e56f9.zip cpython-68468eba635570400f607e140425a222018e56f9.tar.gz cpython-68468eba635570400f607e140425a222018e56f9.tar.bz2 |
Get rid of many apply() calls.
Diffstat (limited to 'Lib/sched.py')
-rw-r--r-- | Lib/sched.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sched.py b/Lib/sched.py index ba5f33a..2b599ee 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 |