def rename_window(sess_name, win_id, name):
    """
    rename the window in session
    """
    p = (sess_name, win_id, name)
    cmd = (p % CMD_RENAME_WINDOW).split(config.CMD_SEP)
    util.exec_cmd(cmd)
dataset/ETHPy150Open sk1418/retmux/tmuxbk/cmd.py/rename_window/swapped operands of `%`