def deepcopy_return_value_method_decorator(fn):
 def decorator(*args, **kwargs):
  return copy.deepcopy(fn(*args, **kwargs))
 return decorator

def deepcopy_return_value_method_decorator ( fn ) : def decorator ( * args , ** kwargs ) : return copy . deepcopy ( fn ( * args , ** kwargs ) ) return decorator
returns a deepcopy of the returned value of the wrapped function .