摘要: 使用反射进行对象的展示设置(性能和可读性都更好) 1 class Shift: 2 show = 'output' 3 4 def __init__(self, line=1, uph=450, eff=1, wt=10): 5 self.uph = uph 6 self.eff = eff 7 s 阅读全文
posted @ 2025-03-13 09:38 小学生2021 阅读(7) 评论(0) 推荐(0)