#2803: fix heappush invocation (backport).
This commit is contained in:
parent
c0c3914b09
commit
09d374fd67
|
@ -114,4 +114,4 @@ class scheduler:
|
||||||
void = action(*argument)
|
void = action(*argument)
|
||||||
delayfunc(0) # Let other threads run
|
delayfunc(0) # Let other threads run
|
||||||
else:
|
else:
|
||||||
heapq.heappush(event)
|
heapq.heappush(q, event)
|
||||||
|
|
Loading…
Reference in New Issue