How to write Smart Python programs?

Antoine De Groote antoine at vo.lu
Thu Oct 12 08:41:03 CEST 2006


Paul Rubin wrote:
> Antoine De Groote <antoine at vo.lu> writes:
>> In the snippet above (taken from the Python doc
>> http://docs.python.org/lib/built-in-funcs.html), self.__x is
>> initialized, but never used. I would appreciate any explanation for
>> this.
> 
> Looks like a typo, should say self._x .

Ok, thanks, that's just what I was thinking..



More information about the Python-list mailing list