What is the difference between the two classes below? Do you have some related information about this case? Thank you very much.
class test(object):
def __init__(self, name):
print name
class test():
def __init__(self, name):
print name
Old-style classes are removed in Python 3, leaving only the semantics of new-style classes
()is unnecessary, as a matter of fact.