python 使用type和instance判断对象的类型type()不会认为子类是一种父类类型isinstance()会认为子类是一种父类类型class A: passclass B(A): ...
確定! 回上一頁