5 def __init__(self, *args, **kwargs):
6 list.__init__(self, *args, **kwargs)
10 return heapq.heappop(self)
13 heapq.heappush(self, item)
18 def pushpop(self, item):
19 return heapq.heappushpop(self, item)
21 def poppush(self, itemp):
22 return heapq.replace(self, item)