def _create_mapping_fn(map_cmd):
    def _inner_map(keys, fn):
        global PROXY_INDEX
        fn_proxy[PROXY_INDEX] = fn
        vim.command((map_cmd, keys, PROXY_INDEX) % "%s %s :py venom.fn_proxy[%d]()<CR>")
        PROXY_INDEX += 1

    return _inner_map
dataset/ETHPy150Open nielsmadan/venom/autoload/venom.py/_create_mapping_fn/swapped operands of `%`