title: Is there a shortcut for `self.somevariable = somevariable` in a Python class constructor?
body: <p>Constructors in Python often look like this:</p>
  
  <pre><code>class SomeClass:
      def __init__(self, a, b = None, c = defC):
          self.a = a
          self.b = b or []
          self.c = c
  </code></pre>
  
  <p>Is there a shortcut for this, e.g. to simply define <code>__init__(self,**kwargs)</code> and use the keys as properties of <code>self</code>?</p>