--- a/QScintilla/SpellChecker.py Fri Jan 01 16:11:36 2010 +0000 +++ b/QScintilla/SpellChecker.py Sat Jan 02 15:11:35 2010 +0000 @@ -246,7 +246,7 @@ while True: try: - self.next() + next(self) self.editor.setIndicatorRange(self.indicator, self.wordStart, self.wordEnd - self.wordStart) except StopIteration: @@ -452,7 +452,7 @@ Private method to advance to the next error. """ - def next(self): + def __next__(self): """ Public method to advance to the next error.