def __init__ question in a class definition rephrased

Fredrik Lundh fredrik at pythonware.com
Mon Feb 7 18:14:52 EST 2005


Jeffrey Borkent wrote:

> what is the significance ( if any ) of the __ in these self.xxxxxx
> assignments.
>
> If i look at chapter 9.5 in the tutorial (v2.3.4) then it talks
> about private variables.... is this the same thing

yes.

</F> 






More information about the Python-list mailing list