I am new to Python and I have a question about OOP. So, when we create a class we write "object" in parentheses. For example,
class My(object):
I have read somewhere that this means that the class inherits from the object class in Python. But I also have read that every class we create is an instance of the type class. So my question is the object class the same as the type class and, if yes, why, when ask Python to print the type of a class, it returns <class 'type'> and not <class 'object'>. Also, why can’t we write
class My(type):
if the object class and the type class are the same?