newb: Question regarding custom exception

Lawrence Oluyede raims at dot.com
Sun Sep 23 10:02:11 EDT 2007


crybaby <joemystery123 at gmail.com> wrote:
> Why you specify type and name of the exception in your custom
> exceptions,

It's up to you, if you're interested in the actual exception object you
catch it, otherwise not.

Take a look at this:
<http://boodebr.org/main/python/tourist/taking-exception>

-- 
Lawrence, oluyede.org - neropercaso.it
"It is difficult to get a man to understand 
something when his salary depends on not
understanding it" - Upton Sinclair



More information about the Python-list mailing list