您尝试做的事在Python中是不可能的。
Python中不存在只能从对象内部访问的“私有”实例变量。
https://docs.python.org/2/tutorial/classes.html#private-variables-and-class-
local-references
欢迎分享,转载请注明来源:内存溢出
您尝试做的事在Python中是不可能的。
Python中不存在只能从对象内部访问的“私有”实例变量。
https://docs.python.org/2/tutorial/classes.html#private-variables-and-class-
local-references
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)