private variables

Ravi Teja webraviteja at gmail.com
Tue Jan 9 01:18:36 EST 2007


belinda thom wrote:
> Hello,
>
> In what version of python were private variables added?
>
> Thanks,
>
> --b

Short answer - 1.5 (or - so long ago that it doesn't matter anymore)
Long answer - There are no true private variables in Python. Just
private variables names by convention.

See Python docs for a detailed explanation.

Ravi Teja.




More information about the Python-list mailing list