News for hackers. Stuff that matters.
Re:The Python IAQ: Infrequently Answered Questions by noahlt on Friday November 12, 2010 @12:36PM (#1898407)
It's also worth noting that, in Python 2.6 and higher, we DO have a ternary operator:

    x = 3 if foo() else 6

There are no comments on this comment yet.