parameters: (builder, tup, count=None)
return_statement: return vals
docstring: Unpack an array or structure of values, return a Python tuple.
docstring_summary: Unpack an array or structure of values, return a Python tuple.
docstring_tokens: Unpack an array or structure of values return a Python tuple .
function: def unpack_tuple(builder, tup, count=None):
      """
      Unpack an array or structure of values, return a Python tuple.
      """
      if count is None:
          # Assuming *tup* is an aggregate
          count = len(tup.type.elements)
      vals = [builder.extract_value(tup, i)
              for i in range(count)]
      return vals
function_tokens: def unpack_tuple ( builder , tup , count = None ) : if count is None : # Assuming *tup* is an aggregate count = len ( tup . type . elements ) vals = [ builder . extract_value ( tup , i ) for i in range ( count ) ] return vals