use of access modifier like underscore in python module control how variable defined or module, function, class imported should be accessed?

前端 未结 0 521
星月不相逢
星月不相逢 2020-12-08 21:12

Python doesn\'t have any mechanism that effectively restricts access to any instance variable or method. Python prescribes a convention of prefixing the name of the variable

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