missing ":"

Special Attributes, Methods and Operators

>>> class MyList(object)
>>>     def __init__(self, *a): self.a = list(a)

>>> class MyList(object):
>>>     def __init__(self, *a): self.a = list(a)

Reply via email to