Why I use private variables (WAS: RE:"private" variables a.k.a. name mangling?)

Jeremy Bowers jerf at jerf.org
Mon Jan 24 11:45:34 EST 2005


On Mon, 24 Jan 2005 15:35:11 -0600, Philippe C. Martin wrote:

> The real reason behind my using private variables is so they do not appear
> in the epydoc generated documentation and confuse my users.

You mean single or double underscores? I just checked and at least epydoc
2.1 doesn't include single-underscore values, but those aren't "private"
in sense we're talking in this thread (some form of compiler enforcement).




More information about the Python-list mailing list