First python project : Tuner

gst g.starck at gmail.com
Tue Jan 17 13:16:02 EST 2012


On 17 jan, 15:16, Jérôme <jer... at jolimont.fr> wrote:
> Hi all.
>

hi,

just my 2 cents:

you have quite lot of such test:

> if self._index is 0:

I think it's better to compare with equality against 0 (or other
needed value) ; that is:

if self._index == 0:

otherwise your code looks very nice to me, though I just had a very
quick look ;)

regards,

GS.




More information about the Python-list mailing list