On Tue, May 12, 2009 at 9:24 AM, The Green Tea Leaf
<thegreenteal...@gmail.com> wrote:
> The Python style guide says
>
> "Use one leading underscore only for non-public methods and instance 
> variables."
>
> Have I understood correctly if I say that this is purely a convention
> and there is nothing in the language that says that it should be this
> way and that nothing special happens (except that it affects the 'from
> X import *'). And no I don't intend to break this, I just want to
> check that I've understood correctly.

Yes, that is correct.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to