News for hackers. Stuff that matters.
Re:Python idiom for taking the single item from a list by yangyang on Monday September 27, 2010 @01:30PM (#1732441)
thing, = stuff works too.
Re:Python idiom for taking the single item from a list by c-oreills on Monday September 27, 2010 @01:37PM (#1732484)
I think the comma's a lot easier to miss compared to (thing,) though.