Is there any reason for a class declaration to inherit from object ? 类声明从object继承有什么理由吗? this
object
I just found some code that does this and I can't find a good reason why. 我刚刚找到了执行此操做的代码,但找不到很好的理由。 spa
class MyClass(object): # class code follows...