Commit 09d374fd authored by Georg Brandl's avatar Georg Brandl

#2803: fix heappush invocation (backport).

parent c0c3914b
...@@ -114,4 +114,4 @@ class scheduler: ...@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment