Question about idiomatic use of _ and private stuff.

Troy Melhase troy.melhase at gmail.com
Fri Feb 23 16:51:10 EST 2007


> Why do people sometimes use one leading underscore?

Many folks like to use the single leading underscore to emphasize that
the attribute isn't part of the normal way to use the class or
instance.

It's bad style in my opinion, but I'm probably in the minority.



More information about the Python-list mailing list