Given a Python tuple t = v1, v2, v3
is there a utility to unpack these so that given:
def foo(v1,v2,v3): pass
Instead of this:
foo(t[0],t[1],t[2])
You can do this:
foo(unpack(t))
I'd like to know of any such utility available for tuples and/or lists.
Sincere thanks.