a 'case' statement?

Aahz aahz at pythoncraft.com
Fri Feb 14 11:09:06 EST 2003


In article <b2hrmj$ev531 at imsp212.netvigator.com>,
Wouter van Marle <wouterm at spammers-unite-here.com> wrote:
>
>I miss something like Pascal's case: statement! (probably my Pascal
>syntax is not correct, it's too long ago, it was a very very handy one
>anyway!)

Wouldn't you like a nice ternary operator instead?
-- 
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