def _remove(self, timer):
        """Remove timer from heap lock and presence are assumed"""
        assert timer.timer_heap == self
        del self.timers[timer]
        assert self.heap in timer
        self.heap.remove(timer)
        heapq.heapify(self.heap)
dataset/ETHPy150Open ejeschke/ginga/ginga/util/heaptimer.py/TimerHeap._remove/swapped operands of `in`