Exception handling
Michael Hudson
mwh at python.net
Wed May 8 06:58:31 EDT 2002
Järvinen Petri <jarvin24 at lehtori.cc.tut.fi> writes:
> Hello
>
> Is it possible to use dynamic binding in exception handling like in C++.
>
> I mean can I catch baseclass exception in my exception handler and get all
> the derived classes catched aswell, like
Yes. Didn't you try it? Although A should have Exception amongst
it's base classes...
Cheers,
M.
--
A witty saying proves nothing. -- Voltaire
More information about the Python-list
mailing list