human
Complete this python program:
def _save(method):
assistant
#Here is the Python code you requested.

    """method decorator that saves data to Attribute
    """
    def save_wrapper(self, *args, **kwargs):
        self.__doc__ = method.__doc__
        ret = method(self, *args, **kwargs)
        self._save_tree()
        return ret
    return update_wrapper(save_wrapper, method)