摘要: metaclass 的超越变形特性有什么用? 来看yaml的实例: import yaml class Monster(yaml.YAMLObject): yaml_tag = u'!Monster' def __init__(self, name, hp, ac, attacks): self.n 阅读全文
posted @ 2019-06-23 22:20 秋官 阅读(1102) 评论(1) 推荐(0) 编辑