>>> class x(int): pass ... >>> y = x() >>> z = 1 >>> type(z) == type(y) False