[Tutor] Help with excetion handing and making my code more efficient needed please

Matt Smith matt at mattanddawn.orangehome.co.uk
Fri May 18 23:57:28 CEST 2007


On Fri, 2007-05-18 at 23:49 +0200, Rikard Bosnjakovic wrote:
> Something like this:
> 
> try:
>    the_index_outside_matrix_test()
> except IndexError:
>   suppress_the_error()

Thanks Rikard,

I'm not sure how I would go about actually suppressing the error - what
would suppress_the_error() actually call?

Cheers,

Matt




More information about the Tutor mailing list