class Foo:pass class Bar(object):pass bar=Bar() foo=Foo() print type(Foo) print type(foo) print type(Bar) print type(bar)
>>> print type(object) <type 'type'> >>> print type(int) <type 'type'>
37,721
社区成员
34,239
社区内容
加载中
试试用AI创作助手写篇文章吧