Underscore data hiding (was python development practices?)
Cliff Wells
logiplexsoftware at earthlink.net
Wed Oct 31 12:56:09 EST 2001
More information about the Python-list mailing list
Wed Oct 31 12:56:09 EST 2001
- Previous message (by thread): Underscore data hiding (was python development practices?)
- Next message (by thread): Underscore data hiding (was python development practices?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): Underscore data hiding (was python development practices?)
- Next message (by thread): Underscore data hiding (was python development practices?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list