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

 err

Detailed Description

Definition at line 17 of file test_cgi.py.


Constructor & Destructor Documentation

def test.test_cgi.ComparableException.__init__ (   self,
  err 
)

Definition at line 18 of file test_cgi.py.

00018 
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,
  anExc 
)

Definition at line 24 of file test_cgi.py.

00024 
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 test_cgi.py.

00030 
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 test_cgi.py.

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


Member Data Documentation

Definition at line 19 of file test_cgi.py.


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