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

    def decorator(func):
        def wrapper(*args, **kwargs):
            msg = '"{}"    has    been    deprecated    in    version    {}    and    will    be    removed    in    a    future    version.'
            if replacement:
                msg += '\n    Use    "{}"    instead.'
            warnings.warn(msg.format(func.__name__, version, replacement), category=DeprecationWarning, stacklevel=2)
            return func(*args, **kwargs)
        return wraps(func)(wrapper)
    return decorator

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

def deprecated(version, replacement=None):