I looked into the example here C-like structures in Python
But The example is of "bunch" but anyways the code is here
class Bunch:
def __init__(self, **kwds):
self.__dict__.update(kwds)
BUt I am using it like this
p = Bunch(x,y)
BUt I am getting a type error
TypeError: __init__() takes exactly 1 argument (3 given)
What am I doing wrong??