On 2013-08-23 01:30, Alan Gauld wrote: > Unless you really only want g(x) executed if there is no MyError exception > but want h(x) executed regardless.
I've had that situation a few times before when using the logic "try this, or fall back to this if it doesn't work". > I'm curious, how often do others use the try/else combination? Rarely. I think I've only used it twice in recent memory.
pgpurjbJpvZp9.pgp
Description: PGP signature
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor