def __eq__(self, other):
    return (isinstance(other, StringSlice) and (other.s == self.s) and (other.start == self.start) and (other.end == self.end))
def __eq__(self, other):
    return (isinstance(other, StringSlice) and (other.s == self.s) and (other.start == self.start) and (other.end == self.end))