Re: [Python-Dev] Python private and protected variables and methods

2016-11-29 Thread Terry Reedy
On 11/29/2016 9:39 AM, Annapoornima Koppad wrote: While teaching Python protected variables, I figured out the oddity about Python. I am using Python 2.7.12+ for my teaching. There is not really a concept of protected variables in Python, is it? Only the _ convention. For a more detailed

[Python-Dev] Python private and protected variables and methods

2016-11-29 Thread Annapoornima Koppad
Dear All, While teaching Python protected variables, I figured out the oddity about Python. I am using Python 2.7.12+ for my teaching. There is not really a concept of protected variables in Python, is it? For a more detailed explanation of what I am trying to do, please read this article,