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;

Reply via email to