From: Georg Brandl Date: Sun, 11 May 2008 15:21:42 +0000 (+0000) Subject: #2803: fix heappush invocation (backport). X-Git-Tag: v2.5.3c1~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09d374fd670e5ee4e72994f6c1d55ea77e95845e;p=python #2803: fix heappush invocation (backport). --- diff --git a/Lib/sched.py b/Lib/sched.py index 7c3235e9f6..1643236bc7 100644 --- a/Lib/sched.py +++ b/Lib/sched.py @@ -114,4 +114,4 @@ class scheduler: void = action(*argument) delayfunc(0) # Let other threads run else: - heapq.heappush(event) + heapq.heappush(q, event)