From Python2:
>>> class A: pass
... 
>>> a = A()
>>> type(a)
<type 'instance'>
from Python3:
>>> class A: pass
... 
>>> a = A()
>>> type(a)
<class '__main__.A'>
First of all, I have noticed that in python2 it returns<type....> while in python3 <class....> is it only a different way of display or is there a more deep meaning?
Second, does type function in python2 always return instance for object created by user-defined class?
