Jeffrey Borkent wrote:
what is the significance ( if any ) of the __ in these self.xx
assignments.
Variables with preceding __ are a vague attempt to avoid some types of
name collisions in inheritance hierarchies. Any name that starts with a
__ will be mangled by prefixing it with _:
py> cl
Jeffrey Borkent wrote:
> what is the significance ( if any ) of the __ in these self.xx
> 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.
--
http://mail.python.org/mailman/listinfo/python-list