📜  元类 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:23.028000             🧑  作者: Mango

代码示例3
In object-oriented programming, a metaclass is a class whose instances are classes. 
Just as an ordinary class defines the behavior of certain objects, 
a metaclass defines the behavior of certain classes and their instances.