Guido van Rossum <[EMAIL PROTECTED]> wrote:

> (I'm not super confident about the syntax alternatives yet.)

The switch:-without-indent business still naggingly makes me feel 
uncomfortable.

Is this a valid no-case-switch?

   switch cake:
   print 'hello'

Here's another syntax off the top of my head - put the first case in the 
switch statement?

   switch biscuit.type if 'digestive':
       ...
   elif in 'jammy_dodger', 'garibaldi':
       ...
   else:
       ...

-- 
And Clover
mailto:[EMAIL PROTECTED]
http://www.doxdesk.com/
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to