human
I wrote the below code

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

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

def deprecated(func):