📜  私有变量 python 代码示例

📅  最后修改于: 2022-03-11 14:46:58.445000             🧑  作者: Mango

代码示例2
# Python does not have any private variables like C++ or Java does.
# You could access any member variable at any time if wanted, too.
# However, you don't need private variables in Python,
# because in Python it is not bad to expose your classes member variables.