To create your own metaclass in Python you really just want to subclass type. A metaclass is most commonly used as a class-factory.
確定! 回上一頁