

def __call__(self, exc):
    if (self.timeout is None):
        start_time.client.cond.wait()
    else:
        assert (self.timeout > 0)
        start_time = get_time()
        self.client.cond.wait(self.timeout)
        self.timeout -= (get_time() - start_time)
        if (self.timeout <= 0):
            self.client.waiting_for_result.discard(self.req_id)
            raise exc

dataset/ETHPy150Open dsiroky/snakemq/snakemq/rpc.py Wait.__call__/VarMisuse@23/26 `self`->`start_time`