human
Solve the following python programming problem given the following code:
def calledAsync(fn) : 
    '
    Function wrapper that fires a deferred upon calling the given function.
    ' 
    d = defer.Deferred () 
    def func(* args, **kwargs) : 
        try : 
            result = fn (* args, ** kwargs) 
except : 
            d.errback () 
else : 
            d.callback (result) 
return (d, fn) 

    
    

    Fix the buggy line: return (d, fn)
assistant
#Here is Python code to fix the buggy line: return (d, fn)
.

return (d, def func()