Pop the smallest item off the heap
(self)
| 24 | return heapq.heappush(self._lst, self._wrap(item)) |
| 25 | |
| 26 | def popmin(self): |
| 27 | '''Pop the smallest item off the heap''' |
| 28 | return self._unwrap(heapq.heappop(self._lst)) |
| 29 | |
| 30 | def replace(self, item): |
| 31 | '''Equivalent to "x = heap.popmin(); heap.push(); return x" but more |
no test coverage detected