def tuple_proj(self, tup, idx, explicit_struct = False):
    if tup.__class__ is Var and tup.name in self.bindings:
      stored = self.bindings[tup.name]
      if stored.__class__ is Tuple:
        return stored.elts[idx]
      else:
        return stored.args[idx]
    else:
      return Builder.tuple_proj(self, tup, idx,
                                  explicit_struct = explicit_struct)
dataset/ETHPy150Open iskandr/parakeet/parakeet/transforms/lower_indexing.py/LowerIndexing.tuple_proj/original