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

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Set the state of the condition internally.  The C{value} parameter is first
coerced to boolean state using C{bool} function, then checked equality with the
current state.  So, this method does all that is needed for C{set} method of a
mutable condition.

This method I{must not} be used from outside.  For mutable conditions, use C{set}
instead; immutable ones update their states through other means.

@param  value: new value for the variable (coerced to boolean state

src/p/y/py-notify-0.3.1/notify/variable.py   py-notify(Download)
    def __update (self, new_value):
        self._set (self.__predicate (new_value))
    def _create_signal (self):