It is *right* associative! (The example was right. :-)

This commit is contained in:
Guido van Rossum 2003-02-08 13:40:52 +00:00
parent 717ec38a5c
commit 52ef95d27a
1 changed files with 3 additions and 3 deletions

View File

@ -45,9 +45,9 @@ Proposal
the first operand is true / false.
To disambiguate this in the context of other operators, the
"if...else" part in the middle acts like a left-associative binary
operator with a priority lower than that of "or", and higher than
that of "lambda".
"if...else" part in the middle acts like a right-associative
binary operator with a priority lower than that of "or", and
higher than that of "lambda".
Examples of how this works out: