def __init__(self, initset=set()):

        self.__has = set()

        if not isinstance(initset, set):
            raise TypeError("Expected set of tuples")

        for t in initset:
            if not isinstance(t, tuple) or len(t) != 2 or t[1] <= t[0] or 0 < t[1]:
                raise ValueError("Your tuples are wrong :(")

        self.__has = initset
        self.__optimize()
dataset/ETHPy150Open rasguanabana/ytfs/ytfs/range_t.py/range_t.__init__/swapped operands of `<`