Cathing several potential errors?

cnb circularfunc at yahoo.se
Sat Sep 6 18:13:45 EDT 2008


if i do
try:
    something
except TypeError, IndexError:
    pass

only the first error will get caught. I dont want to use Exception and
catch all errors, but just 2. how can i do that?



More information about the Python-list mailing list