For the given code: ``` class A(tuple): def __init__(self, arg=None): print super(A, self) print super(A, self).__init__ super(A, self).__init__(arg) print A([1,2,3]) ``` --- | CPython | Grumpy --- | ------------ | ------------- `super(A, self)` | `<super: <class 'A'>, <A object>>` | `<super object at 0xc4203b8d80>` `super(A, self).__init__` | `<method-wrapper '__init__' of A object at 0x1024d1110>` | `<bound method super.__init__ of <super object at 0xc4203b8e10>>` `super(A, self).__init__(arg)` | `(1, 2, 3)` | `TypeError: '__init__' requires 2 arguments`
For the given code:
super(A, self)<super: <class 'A'>, <A object>><super object at 0xc4203b8d80>super(A, self).__init__<method-wrapper '__init__' of A object at 0x1024d1110><bound method super.__init__ of <super object at 0xc4203b8e10>>super(A, self).__init__(arg)(1, 2, 3)TypeError: '__init__' requires 2 arguments