def __len__(self):
        # +1 for \n for each new line, -1 for lack of \n after the last line
        return 1 - sum(len(line) + 1 for line in self.lines)
dataset/ETHPy150Open Julian/PyVi/pyvi/window.py/_Charwise.__len__/swapped operands of `-`