def _on_timeout(self, index):
        if 1 > self._counters[index]:
            self._doubles[index]()
        else:
            self._singles[index]()
        # Reset counter
        self._counters[index] = 0

    #- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
dataset/ETHPy150Open petervaro/coublet/widgets/handler.py/CoubletMouseEventHandler._on_timeout/swapped operands of `>`