[Python-Dev] Syntax for "except"

Alex Martelli aleaxit at yahoo.com
Tue Feb 10 12:16:58 EST 2004

On Tuesday 10 February 2004 06:06 pm, Phillip J. Eby wrote:
> But the current implementation *does* have a nice side effect of allowing
> error psuedoclasses to be created, e.g.:

"The secret of life if having nice side effects" -- a Peanuts quote, I 
believe, though I can't confirm that with Google.  I _do_ entirely agree that 
using a tuple of possible exception classes is sometimes VERY useful indeed!


More information about the Python-Dev mailing list