Hmm... An idea: if a,b==c,d:
Erik Max Francis
max at alcyone.com
Mon Nov 18 18:27:15 EST 2002
Richard Dillingham wrote:
> It doesn't have ()s, so it ain't two tuples. Easy enough, da?
Nyet. The problem is that a, b == c, d already has a perfectly valid
meaning in python, it's a tuple with the second element being b == c.
Making an exception in syntax for what seems a very marginal case seems
unwise.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ Who's not sat tense before his own heart's curtain?
\__/ Rainer Maria Rilke
Maths reference / http://www.alcyone.com/max/reference/maths/
A mathematics reference.
More information about the Python-list
mailing list