Calling a user-defined Exception from within a function. Need Help.
Alex
new_name at mit.edu
Tue Jul 3 14:29:17 EDT 2001
> | raise other
>
> I think this line is wrong, but I could be wrong.
No, you can raise a subclass of Exception. I do it all the time.
Alex.
More information about the Python-list
mailing list