[Python-Dev] Re: Trinary Operators
Greg Ewing
greg@cosc.canterbury.ac.nz
Fri, 07 Feb 2003 14:11:51 +1300 (NZDT)
Andrew Koenig <ark@research.att.com>:
> It doesn't bother me that the relative precedence of if/else and
> lambda is different on the left and right,
The precedence doesn't have to be different on the left
and right -- they just need to have the *same* precedence
with appropriate associativity.
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+