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

Thanks to Matt Harden.
This commit is contained in:
Georg Brandl 2008-05-11 15:20:16 +00:00
parent d063240d91
commit ea823a866c
1 changed files with 1 additions and 1 deletions

View File

@ -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):