list comprehension problem

Nick Stinemates nick at stinemates.org
Thu Oct 29 23:10:39 EDT 2009


> Some objects are singletons, ie there's only ever one of them. The most
> common singleton is None. In virtually every other case you should be
> using "==" and "!=".

Please correct me if I am wrong, but I believe you meant to say some 
objects are immutable, in which case you would be correct.

> -- 
> http://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list