Can shorthand operators be used with getters and setters?

后端 未结 0 1134
Happy的楠姐
Happy的楠姐 2020-12-15 08:25

Is it possible to set a property with shorthand operators like +=, or -=?

I\'ve read this post, What's the pythonic way to use getters and setters?, but it deals

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