#2803: fix heappush invocation (backport).

This commit is contained in:
Georg Brandl 2008-05-11 15:21:42 +00:00
parent c0c3914b09
commit 09d374fd67
1 changed files with 1 additions and 1 deletions

View File

@ -114,4 +114,4 @@ class scheduler:
void = action(*argument)
delayfunc(0) # Let other threads run
else:
heapq.heappush(event)
heapq.heappush(q, event)