Awsome Python - chained exceptions

Rick Johnson rantingrickjohnson at gmail.com
Thu Feb 14 21:56:36 EST 2013


On Thursday, February 14, 2013 6:01:51 AM UTC-6, Ulrich Eckhardt wrote:
> [...]
> 
> try:
>      rrick.go_and_[edit]_yourself()
> finally:
>      rrick.get_lost()

Oops, you forgot to catch "FloatingPointError" and so your code choked in the try block -- typical newbie mistake.



More information about the Python-list mailing list