Python style questions

Terry Reedy tjreedy at udel.edu
Sat Mar 17 01:56:54 EST 2001


"François Granger" <francois.granger at free.fr> wrote in message
news:1eqdo5u.1xxmzfi2kjk0qN%francois.granger at free.fr...
> Aahz Maruch <aahz at panix.com> wrote:
>
> > In article <98tb91$9t9$1 at saltmine.radix.net>,
> > Cary O'Brien <cobrien at Radix.Net> wrote:
>
> > >3. I really miss not having a "switch" or "case" statement.  Sniff.
>
> > Use a dictionary.
>
> Some code snippet as exemple ?
> At this point, I can't imagine a good way, and I don't remember seeing
> something on this.

I posted an example about a month ago ... and about a year ago.
Don't know what archive search facilities we currently have.

Terry J. Reedy






More information about the Python-list mailing list