python中super出現的TypeError: must be type, not classobj 緣由及解決

示例以下 class A(): def __init__(self):pass class B(A): def __init__(self): super(A, self).__init__() 調用B建立對象時出現錯誤html TypeError: must be type, not classobj 查找資料以後發現,python中super只能應用
相關文章
相關標籤/搜索