On Fri, Aug 23, 2013 at 6:14 AM, leam hall <leamh...@gmail.com> wrote:
> If I have a series of tasks that depend on X happening, should I put them
> all in the same "try" block or just put X in there and exit out if it fails?


You are right about the latter. You should put only the statement
which you expect to raise the exception.




-- 
http://echorand.me
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to