Why re-assigning in objects private attribute doesn't complain in python?

后端 未结 0 1304
星月不相逢
星月不相逢 2021-01-14 00:06

I am new in python and started learning OOP in python. I have come to know that if I want to make an attribute private in python class, I just need to add a double underscor

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