[Python-Dev] Adding a conditional expression in Py3.0

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Sep 30 02:40:55 CEST 2005


Nick Coghlan wrote:
> i.e., it's 
> like an "or", only we're asking that the decision be made based on something 
> other than the truth value of the left hand operand.

Hmmm, then maybe it should be
 a or c if b
or perhaps
 a or, if b, c
:-)

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	 | A citizen of NewZealandCorp, a	 |
Christchurch, New Zealand	 | wholly-owned subsidiary of USA Inc. |
greg.ewing at canterbury.ac.nz	 +--------------------------------------+


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /