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...