For review: PEP 308 - If-then-else expression

Erik Max Francis max at alcyone.com
Sun Feb 9 18:35:20 EST 2003


Paul Paterson wrote:

> Oops, this doesn't work of course since (1,2,3) <- 2 might mean "less
> than
> minus 2"

Still, that approach (instead of reversing the elements, reverse the
position of the operator) seems reasonable.  Maybe change the operators
to => and <=, respectively.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ He who knows how to be poor knows everything.
\__/ Jules Michelet
    Rules for Buh / http://www.alcyone.com/max/projects/cards/buh.html
 The official rules to the betting card game, Buh.




More information about the Python-list mailing list