标签: python python-2.7 oop super
如果继承自object类,是否有必要显式调用__init__()类的object(如果覆盖了__init__()后代的话)?
object
__init__()
class MyClass(object): def __init__(self, arg): super(MyClass, self).__init__() self.arg = arg