human
I wrote the below code

    def new_func(*args, **dargs):
        warnings.warn(('Call    to    deprecated    function    %s.' % func.__name__), category=DeprecationWarning)
        return func(*args, **dargs)
    new_func.__name__ = func.__name__
    new_func.__doc__ = func.__doc__
    new_func.__dict__.update(func.__dict__)
    return new_func

What's a good function header?

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

def deprecated(func):