摘要: ```python # 原文链接:https://www.cnblogs.com/tkqasn/p/6524879.html # 元类会自动将你通常传给‘type’的参数作为自己的参数传入 def upper_attr(future_class_name, future_class_parents, future_class_attr): # 选择所有不以'__'开头的属性 at... 阅读全文
posted @ 2019-02-15 16:53 nanaindi 阅读(136) 评论(0) 推荐(0)