Which way to say 'private'?
Batista, Facundo
FBatista at uniFON.com.ar
Thu Aug 21 10:19:34 EDT 2003
More information about the Python-list mailing list
Thu Aug 21 10:19:34 EDT 2003
- Previous message (by thread): Which way to say 'private'?
- Next message (by thread): Which way to say 'private'?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
#- There are 2 ways to indicate private members of classes, by #- prepending #- 1 or 2 underscore characters, the latter causing name mangling. My #- question is: When would I use which kind to indicate privacy? As a I read don't remember where, :p, to put 1 underscore is the same to hang a "Do not disturb" sign in the door, to put 2 underscores is the same to lock the door. . Facundo
- Previous message (by thread): Which way to say 'private'?
- Next message (by thread): Which way to say 'private'?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list