Default tuple values
In python you can assign values to a number of variables using tuple unpacking: foo, bar, baz = some_3_values_tuple But if the tuple does not have an exact number of values the assignment will fail with ValueError: >>> some_tuple = 1,2 >>> foo, bar, baz = some_tuple Traceback (most recent …