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.
[ Parent
| on HN ]
There are no comments on this comment yet.