With one argument, return the type of an object. The return value is a type object and generally the same object as returned by object.__class__.
class type(object)
>>> class X: ... a = 1 ... >>> X = type('X', (), dict(a=1))