Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_compare.Cmp Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__
def __eq__

Public Attributes

 arg

Detailed Description

Definition at line 8 of file test_compare.py.


Constructor & Destructor Documentation

def test.test_compare.Cmp.__init__ (   self,
  arg 
)

Definition at line 9 of file test_compare.py.

00009 
00010     def __init__(self,arg):
00011         self.arg = arg

Here is the caller graph for this function:


Member Function Documentation

def test.test_compare.Cmp.__eq__ (   self,
  other 
)

Definition at line 15 of file test_compare.py.

00015 
00016     def __eq__(self, other):
00017         return self.arg == other

Definition at line 12 of file test_compare.py.

00012 
00013     def __repr__(self):
00014         return '<Cmp %s>' % self.arg


Member Data Documentation

Definition at line 10 of file test_compare.py.


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