in heap.py [0:0]
def push_all_invalid(self): for pos in range(len(self.data)-1, -1, -1): if pos in self.invalid_pos: self.push_invalid(pos)