Peter Otten <[EMAIL PROTECTED]> writes:
> Here's a variant that does performs only the necessary tests: 
> 
> >>> from itertools import izip
> >>> True not in (a == b for a, b in izip(range(3), range(3)))

Cute!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to