News for hackers. Stuff that matters.
Re:Python idiom for taking the single item from a list by jemfinch on Tuesday September 28, 2010 @04:24PM (#1737146)
> it's far more likely that the object passed was None than that it was a completely different type than the one expected.

FYI, None is a completely different type than the one expected.

There are no comments on this comment yet.