mirror of
https://github.com/python/cpython.git
synced 2026-01-28 10:12:20 +00:00
#2803: fix heappush invocation (backport).
This commit is contained in:
parent
c0c3914b09
commit
09d374fd67
1 changed files with 1 additions and 1 deletions
|
|
@ -114,4 +114,4 @@ def run(self):
|
|||
void = action(*argument)
|
||||
delayfunc(0) # Let other threads run
|
||||
else:
|
||||
heapq.heappush(event)
|
||||
heapq.heappush(q, event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue