def METHOD_NAME(self, base, size, index):
    if isinstance(base, ast.Constant):
        return ast.Constant(base.value, None)
    if size == 1:
        return deepcopy(base.elts[0])
    return base.elts[index]