Further detail from the docs (
http://docs.python.org/library/functions.html):
type(name, bases, dict)
Return a new type object. This is essentially a dynamic form of
the class statement. The name string is the class name and becomes the
__name__ attribute; the bases tuple itemizes the base classes and
becomes the __bases__ attribute; and the dict dictionary is the
namespace containing definitions for class body and becomes the
__dict__ attribute. For example, the following two statements create
identical type objects:
... a = 1
...
New in version 2.2.
Cheers,
Chris