mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Get rid of many apply() calls.
This commit is contained in:
parent
f389c77273
commit
68468eba63
38 changed files with 85 additions and 91 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue