In python the new style of class declaration is this:
class A(object):
pass
what I don't understand is what is wrong with the old declaration,
class A:
pass
more specifically, why they needed to add the base object class.Also,I want to know a little bit more about the object class in python,couldn't find any resource available on object class.
However, What is the difference between old style and new style classes in Python? There's some answer over here,which talks about the rules but my specific question is what is the advantage of this declaration with object(Base class) on the declaration without the object.