human
Complete the below
def deprecated(function, instead):

    ''''Mark a function deprecated so calling it issues a warning'
    '''
 ... Can you provide a the Python program you requested?
assistant
#Here is the Python program you requested.
    if (not isinstance(function, types.FunctionType)):
        return function
    @wraps(function)
    def wrap(*args, **kwargs):
        warnings.warn(('Deprecated,    use    %s    instead' % instead), PyGIDeprecationWarning)
        return function(*args, **kwargs)
    return wrap