<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_attribute(name, value):
 """ Decorator factory for setting attributes on a function. Doesn't change the behavior of the wrapped function. Examples -------- 3 'foo' """

    def decorator(f):
        setattr(f, name, value)
        return f
    return decorator