

def write_str(filename, contents):
    with open(filename, 'w') as f:
        contents.write(contents)

dataset/ETHPy150Open dcos/dcos/packages/exhibitor/extra/start_exhibitor.py write_str/VarMisuse@24/29 `f`->`contents`