Here is a more complex class:
>>> class MyClass(object): >>> z = 2 >>> def __init__(self, a, b): >>> self.x = a, self.y = b # change a, to a;
Here is a more complex class:
>>> class MyClass(object): >>> z = 2 >>> def __init__(self, a, b): >>> self.x = a, self.y = b # change a, to a;