

def replace_extra_args(self, args, genlist):
    final_args = []
    for a in args:
        if (a == '@EXTRA_ARGS@'):
            final_args += genlist.get_extra_args()
        else:
            final_args.append(a)
    return final_args

dataset/ETHPy150Open mesonbuild/meson/mesonbuild/backend/backends.py Backend.replace_extra_args/original