Where is CASE?????

Steve Purcell stephen_purcell at yahoo.com
Tue Feb 20 14:48:36 CET 2001


Chris Richard Adams wrote:
> Someone please tell me why I cannot find a CASE statement in the Python
> documentation index...

Because there isn't one.

Use if/elif/else instead.

It doesn't sting as much as you might expect.

-Steve

-- 
Steve Purcell, Pythangelist
Get testing at http://pyunit.sourceforge.net/
Get servlets at http://pyserv.sourceforge.net/
"Even snakes are afraid of snakes." -- Steven Wright




More information about the Python-list mailing list