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
Hi There,
Please let me rephrase the problem as many people misunderstood
what i was trying to ask.
I know that the __init__ is the class constructor, that was not my
question.
under the def __init__ are several assignments
self.__list = list
self.refresh = 360
i wish to add some more assignme