>
> if var not in (A, B, C):
>    do_something()
>

And this is why I love python.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to