部分代码。“type”的第一个参数是做什么的?
In [1]: A = type('B',(), {})
In [2]: a = A()
In [3]: b = B()
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/home/shabda/<ipython console> in <module>()
NameError: name 'B' is not defined
type
在这里做的第一个参数是什么?