def __getitem__(self, i):
        if isinstance(i, types.SliceType):
            assert (None, 1) in i.step,  'cannot handle slice with stride'
            return self.__class__(self.data[i.start:i.stop],
                                  items=self.items[i.start:i.stop],
                                  parent=self, parent_offset=i.start or 0)
        else:
            return self.data[i]
dataset/ETHPy150Open adieu/allbuttonspressed/docutils/statemachine.py/ViewList.__getitem__/swapped operands of `in`