Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_urllib2.FakeMethod Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 meth_name
 handle
 action

Detailed Description

Definition at line 256 of file test_urllib2.py.


Constructor & Destructor Documentation

def test.test_urllib2.FakeMethod.__init__ (   self,
  meth_name,
  action,
  handle 
)

Definition at line 257 of file test_urllib2.py.

00257 
00258     def __init__(self, meth_name, action, handle):
00259         self.meth_name = meth_name
00260         self.handle = handle
        self.action = action

Here is the caller graph for this function:


Member Function Documentation

def test.test_urllib2.FakeMethod.__call__ (   self,
  args 
)

Definition at line 261 of file test_urllib2.py.

00261 
00262     def __call__(self, *args):
00263         return self.handle(self.meth_name, self.action, *args)


Member Data Documentation

Definition at line 260 of file test_urllib2.py.

Definition at line 259 of file test_urllib2.py.

Definition at line 258 of file test_urllib2.py.


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