Trong Python 2.5, đoạn mã sau tạo ra TypeError:
>>> class X:
      def a(self):
        print "a"
>>> class Y(X):
      def a(self):
        super(Y,self).a()
        print "b"
>>> c = Y()
>>> c.a()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 3, in a
TypeError: super() argument 1 must be type, not classobjNếu tôi thay thế class Xbằng class X(object), nó sẽ hoạt động. Lời giải thích cho điều này là gì?