metaclass 这个词是由“meta”和“class”组成,意味元类,顾名思义就是类的类型。在Python 中,由class 定义其实例的行为,而metaclass 定义了class 的行为。
確定! 回上一頁