Package mrv :: Module util :: Class CallAdv
[hide private]
[frames] | no frames]

Class CallAdv

source code

object --+    
         |    
      Call --+
             |
            CallAdv

Advanced call class providing additional options:

merge_args:
if True, default True, incoming arguments will be prepended before the static ones
merge_kwargs:
if True, default True, incoming kwargs will be merged into the static ones
Instance Methods [hide private]
 
__call__(self, *inargs, **inkwargs)
Call with merge support
source code
 
__init__(self, func, *args, **kwargs)
Initialize object with function to call once this object is called
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  merge_args
  merge_kwargs

Inherited from Call: args, func, kwargs

Inherited from object: __class__

Method Details [hide private]

__call__(self, *inargs, **inkwargs)
(Call operator)

source code 
Call with merge support
Overrides: Call.__call__

__init__(self, func, *args, **kwargs)
(Constructor)

source code 
Initialize object with function to call once this object is called
Overrides: object.__init__
(inherited documentation)