我想覆盖__getattr__类上的方法来做一些奇特的事情,但我不想打破默认行为.
__getattr__
这样做的正确方法是什么?
python getproperty getattr
getattr ×1
getproperty ×1
python ×1