Sets the named attribute on the given object to the specified value. setattr(x, 'y', v) is equivalent to ``x.y = v``
builtins/setattr
setattr