In Python you can write something like this:
a = (1, 2, 3)
b = {'foo': 'bar'}
my_function(*a, **b)
Is there a specific term for what happens in the last line with a
and b
and, if yes, what is it? It's not "destructuring" I suppose. And "variable expansion" sounds wrong too.