commit | 889b92d3aa88b1d38d1f96907e0c02bea6d81777 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Jul 13 22:42:09 2013 -0700 |
committer | Raymond Hettinger <python@rcn.com> | Sat Jul 13 22:42:09 2013 -0700 |
tree | 32046963e8426707bcf0715578fc3c28b36119ff | |
parent | e6a17862e7f5739a669a98c2699a595a03fbe364 [diff] [blame] |
Issue #18432: Fix unintended API change in the sched module
diff --git a/Lib/sched.py b/Lib/sched.py index ccf8ce9..b9a7ad1 100644 --- a/Lib/sched.py +++ b/Lib/sched.py
@@ -165,4 +165,4 @@ # 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)))