def set_timeout(func, timeout, *args, **kwargs):
    global top_timeout_id
    timeout_id = top_timeout_id
    top_timeout_id + 1
    if top_timeout_id > 100000:
        top_timeout_id = 0

    def timeout_func():
        if timeout_id in cancelled_timeouts:
            cancelled_timeouts.remove(timeout_id)
            return
        func(*args, **kwargs)

    then = time.time() + (1000.0 / timeout)
    timeouts[then].append(timeout_func)
    return timeout_id
dataset/ETHPy150Open Floobits/floobits-sublime/floo/proxy.py/set_timeout/swapped operands of `/`