News for hackers. Stuff that matters.
Re:Python idiom for taking the single item from a list by cool-RR on Monday September 27, 2010 @01:52PM (#1732564)
I see what you mean. In this case it's indeed questionable whether this idiom would improve the code. The only improvement I can offer for this code is to fix the Yoda conditions :)

There are no comments on this comment yet.