Is there a Python shortcut for an __init__ that simply sets properties? : <p>It's sometimes common in Python to see <code>__init__</code> code like this:</p>

<pre><code>class SomeClass(object):
    def __init__(self, a, b, c, d, e, f, g):
        self.a = a
        self.b = b
        self.c = c
        self.d = d
        self.e = e
        self.f = f
        self.g = g
</code></pre>

<p>especially if the class in question is purely a data structure with no behaviour. Is there a (Python 2.7) shortcut for this or a way to make one?</p>
