def _prep_tuple(v):
 from sympy import unpolarify
 return TupleArg(*[unpolarify(x) for x in v])

def _prep_tuple ( v ) : from sympy import unpolarify return TupleArg ( * [ unpolarify ( x ) for x in v ] )
turn an iterable argument v into a tuple and unpolarify .