Package topo :: Package param :: Class InstanceMethodWrapper
[hide private]
[frames] | no frames]

Class InstanceMethodWrapper

source code

object --+
         |
        InstanceMethodWrapper

Wrapper for pickling instance methods.

The constructor takes an instance method (e.g. for an object 'sim', method sim.time) as its only argument. The wrapper instance is callable, picklable, etc.

Instance Methods [hide private]
 
__repr__(self)
x.__repr__() <==> repr(x)
source code
 
_fname(self) source code
 
__init__(self, im)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getstate__(self) source code
 
__setstate__(self, state) source code
 
__call__(self, *args, **kw) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]
  __name__

Inherited from object: __class__

Method Details [hide private]

__repr__(self)
(Representation operator)

source code 
x.__repr__() <==> repr(x)
Overrides: object.__repr__
(inherited documentation)

__init__(self, im)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

Property Details [hide private]

__name__

Get Method:
_fname(self)