Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
An abstract object that can transform values between two formats (back and forth).  In
addition, it can create proxies for arbitrary functions with C{L{forward}} and
C{L{back}} methods.  When a proxy is called with single value, the value is
transformed forth or back first, and then passed to underlying function.

In other words, proxies work in such a way that
    >>> mediator.forward (some_function) (value)

is the same as
    >>> some_function (mediator.forward_value (value))(more...)

src/p/y/py-notify-0.3.1/notify/base.py   py-notify(Download)
import sys
 
from notify.mediator import AbstractMediator
from notify.signal   import AbstractSignal, Signal
from notify.utils    import execute, is_callable, is_valid_identifier, mangle_identifier, \