Single leading dash in member variable names?
mdengler at gmail.com
mdengler at gmail.com
Wed Sep 12 12:53:07 EDT 2012
On Wednesday, September 12, 2012 4:23:49 PM UTC+1, (unknown) wrote:
> [...] David Goodger's "Code Like A Pythonista" in the "Naming" section [says single leading underscore is bad form]. (http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html#naming)
Looks like it says the opposite:
"[rather than trying to hide attributes with double-leading-underscores, i]t's better to use the single-leading-underscore convention, _internal".
More information about the Python-list
mailing list