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

Samuele Pedroni pedronis at bluewin.ch
Sun Feb 9 12:39:13 EST 2003


"Guido van Rossum" <guido at python.org> ha scritto nel messaggio
news:mailman.1044638179.4983.python-list at python.org...
>
>
> PEP: 308

I hope at least in a :

<cond> op_part1 <true-expr> op_part2 <false-expr>

form.

I could live with:

(cond if? true_expr else false false_expr)

ye 'if?' is mixed alpha, non-alpha chars, then what,  better than (IMO):

<true_expr> if <cond> else <false_expr>

(cond ? true_expr else false false_expr)


.






More information about the Python-list mailing list