

def set_result(self, result):
    'Sets the return value of work associated with the future.\n\n        Should only be used by Executor implementations and unit tests.\n        '
    with self._condition:
        self._result = result
        self._state = FINISHED
        for waiter in result._waiters:
            waiter.add_result(self)
        self._condition.notify_all()
    self._invoke_callbacks()

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/concurrent/concurrent/futures/_base.py Future.set_result/VarMisuse@36/92 `self`->`result`