[Python-checkins] python/nondist/peps pep-0308.txt,1.7,1.8
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Sat, 08 Feb 2003 05:40:54 -0800
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1:/tmp/cvs-serv8375
Modified Files:
pep-0308.txt
Log Message:
It is *right* associative! (The example was right. :-)
Index: pep-0308.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0308.txt,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** pep-0308.txt 8 Feb 2003 02:12:43 -0000 1.7
--- pep-0308.txt 8 Feb 2003 13:40:52 -0000 1.8
***************
*** 46,52 ****
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".
Examples of how this works out:
--- 46,52 ----
To disambiguate this in the context of other operators, the
! "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: