Why does Python see these classes as different data types?
>>> class A:
... pass
...
>>> class B(object):
... pass
...
>>> a = A()
>>> b = B()
>>> type(A)
<type 'classobj'>
>>> type(B)
<type 'type'>
>>> type(a)
<type 'instance'>
>>> type(b)
<class '__main__.B'>
I'm pretty new. So I don't really understand why it sees all of this as different data types. They are both classes so it seems as though they should be the same.