[Python-3000] None in Comparisons

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Nov 12 12:07:09 CET 2008


M.-A. Lemburg wrote:

> The difference is that None is a singleton, so the set of all
> None type instances is {None}. You always have an intuitive total order
> relation on one element sets: the identity relation.

I don't see this having much practical consequence, though,
since sorting members of a 1-element set isn't a very
useful thing to do.

-- 
Greg


More information about the Python-3000 mailing list