标签: python python-2.7
getJson()
为什么class C(object): pass >>> C.__mro__ (<class '__main__.C'>, <type 'object'>) >>> c = C() >>> c.__mro__ AttributeError: 'C' object has no attribute '__mro__' 有效,C.__mro__没有?
class C(object): pass >>> C.__mro__ (<class '__main__.C'>, <type 'object'>) >>> c = C() >>> c.__mro__ AttributeError: 'C' object has no attribute '__mro__'
C.__mro__