<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _override_sugar(func):
    '''Use this decorator to override an attribute that is specified in
    blessings' sugar dict with your own function that adds some additional
    functionality.
    '''
    attr_name = func.__name__
    @property
    @wraps(func)
    def func_that_uses_terminal_sugar(self):
        func(self)
        return self.__getattr__(attr_name)
    return func_that_uses_terminal_sugar