Kaydet (Commit) ea823a86 authored tarafından Georg Brandl's avatar Georg Brandl

#2803: fix wrong invocation of heappush in seldom-reached code.

Thanks to Matt Harden.
üst d063240d
......@@ -117,7 +117,7 @@ class scheduler:
action(*argument)
delayfunc(0) # Let other threads run
else:
heapq.heappush(event)
heapq.heappush(q, event)
@property
def queue(self):
......
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