Python 2.5では、次のコードでaが発生し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 classobjをに置き換えるclass Xとclass X(object)、機能します。これの説明は何ですか?
                
                3
              
                  あなたの「しかし、私はクラスXをクラスX(オブジェクト)に置き換える」が私の問題を修正しました!thanx
                
                
                  
                    —
                    AliBZ 2013年