human
Solve the following python programming problem given the following code:
def extends(* args, **kwargs) : 
    "Indicate a function extends an operation.

    Can be used as either::

        @extends
        def index(...):
            pass

    or as::

        @extends(action='resize')
        def _action_resize(...):
            pass
    " 
    def decorator(func) : 
        func.wsgi_extends = (func.__name__, kwargs.get ('action')) 
        return func 
if args : 
        return decorator (* kwargs) 
return decorator 

    
    

    Fix the buggy line: return decorator (* kwargs)
assistant
#Here is Python code to fix the buggy line: return decorator (* kwargs)
.

return decorator (* args)