def __getslice__(self, i, j):
        return self.__getitem__(slice(i, j))
This function is deprecated, so we just make it call the proper
dataset/ETHPy150Open evennia/evennia/evennia/utils/ansi.py/ANSIString.__getslice__