forcing exceptions

Bill Scherer bill.scherer at verizonwireless.com
Fri Mar 3 20:37:13 CET 2006


Nikola Skoric wrote:

> Is there a way to tell the interpreter to display exceptions, even those
> which were captured with except?
>
I believe you are looking for "raise".
For example:

Try:
   some.code()
except SomeError:
   do.whatever()
   raise



- Bill



More information about the Python-list mailing list