Package wx :: Package lib :: Module delayedresult :: Class Handler
[frames | no frames]

Class Handler


Bind some of the arguments and keyword arguments of a callable ('listener'). Then when the Handler instance is called (e.g. handler(result, **kwargs)) the result is passed as first argument to callable, the kwargs is combined with those given at construction, and the args are those given at construction. Its return value is returned.


Method Summary
  __init__(self, listener, *args, **kwargs)
Bind args and kwargs to listener.
  __call__(self, result, **moreKwargs)
Listener is assumed to take result as first arg, then *args, then the combination of moreKwargs and the kwargs given at construction.

Method Details

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

Bind args and kwargs to listener.

__call__(self, result, **moreKwargs)
(Call operator)

Listener is assumed to take result as first arg, then *args, then the combination of moreKwargs and the kwargs given at construction.


Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:54:37 2009 http://epydoc.sf.net