Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_weakref.Object Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__
def __eq__
def __lt__
def __hash__

Public Attributes

 arg

Detailed Description

Definition at line 799 of file test_weakref.py.


Constructor & Destructor Documentation

def test.test_weakref.Object.__init__ (   self,
  arg 
)

Definition at line 800 of file test_weakref.py.

00800 
00801     def __init__(self, arg):
        self.arg = arg

Here is the caller graph for this function:


Member Function Documentation

def test.test_weakref.Object.__eq__ (   self,
  other 
)

Definition at line 804 of file test_weakref.py.

00804 
00805     def __eq__(self, other):
00806         if isinstance(other, Object):
00807             return self.arg == other.arg
        return NotImplemented

Definition at line 812 of file test_weakref.py.

00812 
00813     def __hash__(self):
00814         return hash(self.arg)
00815 

def test.test_weakref.Object.__lt__ (   self,
  other 
)

Definition at line 808 of file test_weakref.py.

00808 
00809     def __lt__(self, other):
00810         if isinstance(other, Object):
00811             return self.arg < other.arg
        return NotImplemented

Definition at line 802 of file test_weakref.py.

00802 
00803     def __repr__(self):
        return "<Object %r>" % self.arg

Member Data Documentation

Definition at line 801 of file test_weakref.py.


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