Details
Description
Allow for functionality like,
def foo(a, b):
print a, b
vars = (1, 2)
foo(*vars)
#prints 1, 2
Also allow for functionality like:
def foo(a, b, *args):
print "$
, $
{b} were simple arguments"
print "$
were variable arguments!"
vars = (1, 2, 3, 4)
foo(*vars)
#prints 1, 2 were simple arguments
#print 3, 4 were variable arguments!