这样做有什么区别
class a: def __init__(self): self.val=1
去做
class a: val=1 def __init__(self): pass
python class init
class ×1
init ×1
python ×1