First python project : Tuner

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

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


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 ;)



More information about the Python-list mailing list