def get_sequence_item(self, index):
    """ operator[] for sequence, support both positive and negative indexes """
    if len(self.value) > index >= -len(self.value):
        return self.value[index]
    raise IndexError