metaclass
基本解釋
- n.[計(jì)] 元類
英漢例句
- A metaclass, again, has a class description.
同樣地,一個(gè)元類也有類描述。 - In practice, then, we can do without a separate concept of metaclass.
那么,實(shí)際上不用一個(gè)單獨(dú)的元類概念我們也能做到這一切。 - Class descriptions with the same set of methods are the objects of a metaclass.
同一組方法的類描述就是元類的對象。 - A metaclass as such is a class and, therefore, has a class description.
如此一個(gè)元類也是一個(gè)類,因此有自己的類描述。 - More classes in the same metaclass can be created just by sending new() to the metaclass description.
通過傳送'''new()'''方法給元類描述,就可以創(chuàng)建該元類下更多別的類。