subclassing Exceptions

Erik Max Francis max at alcyone.com
Sun Jul 22 17:21:10 EDT 2001


Sheila King wrote:

> That's because the "big picture" is the general overview of how the
> parent class works.

The behavior of the parent class is as the library reference states:  It
implements __str__, __getitem__, __len__ (presumably), and args. 
Exception is just a class like everything else; other than having the
behavior as specified in the reference, it's your typical class.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Sanity is a cozy lie.
\__/ Susan Sontag
    The laws list / http://www.alcyone.com/max/physics/laws/
 Laws, rules, principles, effects, paradoxes, etc. in physics.



More information about the Python-list mailing list