QScintilla/SpellChecker.py

changeset 12
1d8dd9706f46
parent 6
52e8c820d0dd
child 13
1af94a91f439
--- 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.
         

eric ide

mercurial