For review: PEP 308 - If-then-else expression
Aahz
aahz at pythoncraft.com
Fri Feb 7 23:34:36 EST 2003
In article <mailman.1044670460.17376.python-list at python.org>,
=?iso-8859-1?q?Fran=E7ois_Pinard?= <pinard at iro.umontreal.ca> wrote:
>
>We have an important precedent in Python, in the form of list
>comprehension, where `if' and `for' are appended to the expression.
Had I been clearer-minded, I would have argued against listcomps on that
ground. As it is, I'm not sure I want to continue the precedent.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Register for PyCon now! http://www.python.org/pycon/reg.html
More information about the Python-list
mailing list