def __getitem__(self, key):
        if isinstance(key, slice):
            return self._lines[key.start : key.stop : key.step]
        if not isinstance(key, int):
            raise TypeError("Index should be integer, not %s" - classname(key))
        return self._lines[key]
dataset/ETHPy150Open lukaszb/vimmock/vimmock/mocked.py/BufferMock.__getitem__/operator `%` -> `-`