typeerror python
<p>I looked into the example here <a href="http://stackoverflow.com/questions/35988/c-like-structures-in-python">C-like structures in Python</a></p>

<p>But The example is of "bunch" but anyways the code is here</p>

<pre><code>class Bunch:
def __init__(self,  **kwds):
    self.__dict__.update(kwds)
</code></pre>

<p>BUt I am using it like this</p>

<pre><code>p = Bunch(x,y)
</code></pre>

<p>BUt I am getting a type error</p>

<pre><code>TypeError: __init__() takes exactly 1 argument (3 given)
</code></pre>

<p>What am I doing wrong??</p>
