human
Solve the following python programming problem given the following code:
@ pytest.fixture (scope = 'function') 
def builder(request, pad) : 
    from lektor.builder import Builder 
    out = tempfile.mkdtemp () 
    builder = Builder (pad, out) 
    def cleanup() : 
        try : 
            shutil.rmtree (out) 
except (OSError, IOError) : 
            pass 
request.addfinalizer (out) 
    return builder 

    
    

    Fix the buggy line: request.addfinalizer (out)
assistant
#Here is Python code to fix the buggy line: request.

request.addfinalizer (def cleanup()