def next(self):
        i = self.histidx + 1
        if len(self.history) < i:
            self.histidx = i
            return self.history[i]

        raise ValueError("At end")
dataset/ETHPy150Open ejeschke/ginga/ginga/misc/LineHistory.py/LineHistory.next/swapped operands of `<`