human
Complete the below
def conserve_mpmath_dps(func):

    ''''After the function finishes, resets the value of mpmath.mp.dps to
    the value it had before the function was run.'
    '''

=====
Write me a the Python program you requested?
assistant
#Here is the Python program you requested.
    import functools
    import mpmath
    def func_wrapper(*args, **kwargs):
        dps = mpmath.mp.dps
        try:
            return func(*args, **kwargs)
        finally:
            mpmath.mp.dps = dps
    func_wrapper = functools.update_wrapper(func_wrapper, func)
    return func_wrapper