QScintilla/SpellChecker.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
diff -r 139f182b72f6 -r 8b507a9a2d40 QScintilla/SpellChecker.py
--- a/QScintilla/SpellChecker.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/QScintilla/SpellChecker.py	Mon Mar 25 03:11:06 2013 +0100
@@ -9,6 +9,8 @@
 The spell checker is based on pyenchant.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import os
 
 from PyQt4.QtCore import QTimer, QObject
@@ -40,7 +42,7 @@
             The string should be in language locale format (e.g. en_US, de).
         @keyparam checkRegion reference to a function to check for a valid region
         """
-        super().__init__(editor)
+        super(SpellChecker, self).__init__(editor)
         
         self.editor = editor
         self.indicator = indicator

eric ide

mercurial