human
I wrote the below code

    def f(*args, **kwargs):
        warn_deprecate_obj(old, new)
        return func(*args, **kwargs)
    return f

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def deprecate(func, old, new):