Closed nova77 closed 12 years ago
self.heap is a list, and as such it does not have a clear method defined. But heapdict.clear tries to call it anyway. See https://github.com/DanielStutzbach/heapdict/blob/master/heapdict.py#L33
self.heap
clear
heapdict.clear
self.heap
is a list, and as such it does not have aclear
method defined. Butheapdict.clear
tries to call it anyway. See https://github.com/DanielStutzbach/heapdict/blob/master/heapdict.py#L33