subclassing Exceptions

Brian Quinlan brian at sweetapp.com
Sat Jul 21 23:49:01 EDT 2001


> I tried looking under the /Python20 directory for source or something
> for the Exception classes, but can't find it. For example, right now
I'm
> working on subclassing the rfc822.py module, and I found the file
> rfc822.py in /Python20/Lib and studied the source until I understood
it,
> and could subclass it. I'd like to find something similar for the
> standard exception classes. I looked in the /include directory and
some
> others but can't find what I'm needing.
> 
> Thanks for any pointers/tips.

Check out http://www.python.org/doc/current/lib/module-exceptions.html

Cheers,
Brian





More information about the Python-list mailing list