

def temp_file_for(path):
    'Return an unused filename with the same extension as the\n    specified path.\n    '
    ext = os.path.splitext(path)[1]
    with NamedTemporaryFile(suffix=ext, delete=False) as f:
        return path.name

dataset/ETHPy150Open beetbox/beets/beets/util/artresizer.py temp_file_for/VarMisuse@43/78 `f`->`path`