Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_cgi.ComparableException Class Reference

List of all members.

Public Member Functions

def __init__
def __str__
def __eq__
def __getattr__

Public Attributes


Detailed Description

Definition at line 17 of file

Constructor & Destructor Documentation

def test.test_cgi.ComparableException.__init__ (   self,

Definition at line 18 of file

00019     def __init__(self, err):
00020         self.err = err

Here is the caller graph for this function:

Member Function Documentation

def test.test_cgi.ComparableException.__eq__ (   self,

Definition at line 24 of file

00025     def __eq__(self, anExc):
00026         if not isinstance(anExc, Exception):
00027             return NotImplemented
00028         return (self.err.__class__ == anExc.__class__ and
00029                 self.err.args == anExc.args)

Definition at line 30 of file

00031     def __getattr__(self, attr):
00032         return getattr(self.err, attr)

Here is the call graph for this function:

Definition at line 21 of file

00022     def __str__(self):
00023         return str(self.err)

Member Data Documentation

Definition at line 19 of file

The documentation for this class was generated from the following file: