飘逸的python - 类型判断type与isinstance的区别 · class Foo(object): · pass · class Bar(Foo): · pass · print type(Foo()) == Foo · print type(Bar()) == ...
確定! 回上一頁