> > Trying to make things "private" is a throwback to Java. In Python > > the tendency is to just leave everything "public". And "private" is with > > one underbar/underscore. [snip] > In general, I recommend that beginners avoid double leading underscore methods > until they are no longer beginners, because (1) they can be confusing to > people still trying to learn the language; (2) you aren't going to need them; > and (3) if you do need them, you can add them in later.
Yeah, that is what I was trying to get across. Ramit This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
