metaclass
基本解释
- n.[計] 元類
英汉例句
- A metaclass, again, has a class description.
同樣地,一個元類也有類描述。 - In practice, then, we can do without a separate concept of metaclass.
那麽,實際上不用一個單獨的元類概唸我們也能做到這一切。 - 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.
如此一個元類也是一個類,因此有自己的類描述。 - More classes in the same metaclass can be created just by sending new() to the metaclass description.
通過傳送'''new()'''方法給元類描述,就可以創建該元類下更多別的類。