Awsome Python - chained exceptions

Rick Johnson rantingrickjohnson at gmail.com
Fri Feb 15 03:56:36 CET 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