human
Here's a good function header given the following:
I wrote the below code

    def wrapped(func):
        @wraps(func)
        def new_func(*args, **kwargs):
            message = ('Call    to    deprecated    function    %s.' % func.__name__)
            if use_instead:
                message += ('    Use    %s    instead.' % use_instead)
            warnings.warn(message, category=ScrapyDeprecationWarning, stacklevel=2)
            return func(*args, **kwargs)
        return new_func
    return wrapped

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

def deprecated(use_instead=None):