Is there a way to change a class variable without adding 'foo = '?

后端 未结 0 1534
鱼传尺愫
鱼传尺愫 2020-11-22 15:14

I have a class, and would like to change an object of it (similar to the pop method of lists), without adding an foo = foo.bar()

In simpler terms, i\'d l

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