News for hackers. Stuff that matters.
Re:Python idiom for taking the single item from a list by jacobolus on Monday September 27, 2010 @03:03PM (#1732915)
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.

There are no comments on this comment yet.