title: Python update object from dictionary
body: <p>Is there a built-in function/operator I could use to unpack values from a dictionary and assign it into instance variables?</p>
  
  <p>This is what I intend to do:</p>
  
  <pre><code>c = MyClass()
  c.foo = 123
  c.bar = 123
  
  # c.foo == 123 and c.bar == 123
  
  
  d = {'bar': 456}
  c.update(d)
  
  # c.foo == 123 and c.bar == 456
  </code></pre>
  
  <p>Something akin to dictionary <code>update()</code> which load values from another dictionary but for plain object/class instance?</p>