On Fri, Jul 6, 2012 at 6:46 PM, Ethan Furman <[email protected]> wrote: > It's checking for equality, not identity.
>>> x = float('nan')
>>> x in [x]
True
It's checking for equality OR identity.
-- Devin
--
http://mail.python.org/mailman/listinfo/python-list
