<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def use(self, key, value):
 """ Temporarily set a parameter value using the with statement. Aliasing allowed. """

        old_value = self[key]
        try:
            self[key] = value
            yield self
        finally:
            self[key] = old_value