finding object using IS instead of ==

Mark Hahn mark at hahnca.com
Thu Aug 28 00:14:42 EDT 2003


If I have a large collection (list, tuple, or dict) of objects, can I locate
one quickly that matches a given object using the IS equivalence operator
instead of the value == operator?






More information about the Python-list mailing list