Hmm... An idea: if a,b==c,d:

Ben Wolfson wolfson at uchicago.edu
Mon Nov 18 18:28:32 EST 2002


On Mon, 18 Nov 2002 15:16:22 +0000, Erik Max Francis wrote:

> Even if you group parentheses to avoid this, you get
> 
> 	(a, b) == (c, d)
> 
> which also already has a meaning; it's a comparison of the tuples, not
> the pairwise comparison of the elements.

I was under the impression that a comparison of two tuples of equal length
amounts to a pairwise comparison of the elements anyway.

-- 
I certainly seem to be enjoying myself in the same way, smacking my
lips, sighing and moaning, dripping [REDACTED] on my shirt and
smearing it into my moustache ... But ... If I snuck a lick of your
cone, I wouldn't smack my lips. -- Ted Cohen




More information about the Python-list mailing list