diff options
author | Raymond Hettinger <python@rcn.com> | 2013-07-14 05:48:49 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-07-14 05:48:49 (GMT) |
commit | 468bcaffd6e8417acef82051f24d225f73097037 (patch) | |
tree | bceb016ecf556c038e58517cfe59066bd14f0a1f /Lib/sched.py | |
parent | 90dea4ce43a0ebfe9961e854b605d167e0f57863 (diff) | |
parent | 889b92d3aa88b1d38d1f96907e0c02bea6d81777 (diff) | |
download | cpython-468bcaffd6e8417acef82051f24d225f73097037.zip cpython-468bcaffd6e8417acef82051f24d225f73097037.tar.gz cpython-468bcaffd6e8417acef82051f24d225f73097037.tar.bz2 |
merge
Diffstat (limited to 'Lib/sched.py')
-rw-r--r-- | Lib/sched.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sched.py b/Lib/sched.py index 9a82a89..2e6b00a 100644 --- a/Lib/sched.py +++ b/Lib/sched.py @@ -164,4 +164,4 @@ class scheduler: # the actual order they would be retrieved. with self._lock: events = self._queue[:] - return map(heapq.heappop, [events]*len(events)) + return list(map(heapq.heappop, [events]*len(events))) |