[Python-checkins] r63071 - python/branches/release25-maint/Lib/sched.py

georg.brandl python-checkins at python.org
Sun May 11 17:21:43 CEST 2008


Author: georg.brandl
Date: Sun May 11 17:21:42 2008
New Revision: 63071

Log:
#2803: fix heappush invocation (backport).


Modified:
   python/branches/release25-maint/Lib/sched.py

Modified: python/branches/release25-maint/Lib/sched.py
==============================================================================
--- python/branches/release25-maint/Lib/sched.py	(original)
+++ python/branches/release25-maint/Lib/sched.py	Sun May 11 17:21:42 2008
@@ -114,4 +114,4 @@
                     void = action(*argument)
                     delayfunc(0)   # Let other threads run
                 else:
-                    heapq.heappush(event)
+                    heapq.heappush(q, event)


More information about the Python-checkins mailing list