commit | ea823a866c634409ee8e12c73845357d29f5e5bf | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun May 11 15:20:16 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Sun May 11 15:20:16 2008 +0000 |
tree | 9a33c414335248c8ba696bc2fe629cf2cf5d8a5f | |
parent | d063240d9141c1207ae7a88f3dc9f7576d49a056 [diff] [blame] |
#2803: fix wrong invocation of heappush in seldom-reached code. Thanks to Matt Harden.
diff --git a/Lib/sched.py b/Lib/sched.py index 1c7bfea..aecdb2a 100644 --- a/Lib/sched.py +++ b/Lib/sched.py
@@ -117,7 +117,7 @@ action(*argument) delayfunc(0) # Let other threads run else: - heapq.heappush(event) + heapq.heappush(q, event) @property def queue(self):