List of all Python dunder methods - Which ones do you need to implement to correctly proxy an object?

前端 未结 0 565
無奈伤痛
無奈伤痛 2021-02-05 20:10

I\'m trying to create an object proxy. Attribute/property lookup can be done by simply implementing the __getattribute__, __setattr__ and __delat

相关标签:
回答
  • 消灭零回复
提交回复
热议问题