4 ms·
Because packing multiple values on the right hand side always creates a tuple, and because the most common use of the feature – multiple assignment – deals with
by jacobolus 16y ago
Because packing multiple values on the right hand side always creates a tuple, and because the most common use of the feature – multiple assignment – deals with tuples, the “sequence unpacking” feature of Python is often called “tuple unpacking” instead, even by people who understand that any sequence can be unpacked.