human
Complete this python program:
def deprecated(instructions):
assistant
#Here is the Python program you requested.

    """Flags a method as deprecated.
    :param instructions: human-readable note to assist migration.
    """
    @decorator
    def wrapper(func, *args, **kwargs):
        message = u'{0}    is    deprecated    and    may    break    unexpectedly.\n{1}'.format(func.__name__, instructions)
        warnings.warn(message, GmusicapiWarning, stacklevel=2)
        return func(*args, **kwargs)
    return wrapper