Newbie asks about static variables...

Fredrik Lundh fredrik at pythonware.com
Thu May 6 05:44:18 EDT 1999


William Tanksley wrote:
> You know, I've heard of a lot of very knowledgable people say that _ is
> the prefix for hiding names, but when I tried it it didn't work.
> 
> Looking in the manual, I see that it claims that __ is the correct prefix;
> and indeed, this seems to work.
> 
> So...  What am I missing?

http://www.python.org/doc/essays/styleguide.html#names
has the full story.

</F>





More information about the Python-list mailing list