On Wednesday 31 October 2001 09:15, Russell E. Owen wrote:
> My understanding is that a double underscore is required for Python to> automagically mangle the name. On the other hand, two postings now> suggest that a single underscore is sufficient.
A double underscore is required for Python to do any mangling (and it can't
end with a double underscore, either). A single underscore is simply a
convention that tells other programmers the name is not meant for public
consumption.
--
Cliff Wells
Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308
(800) 735-0555 x308
--
http://mail.python.org/mailman/listinfo/python-list