QScintilla/Lexers/LexerPython.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
diff -r 139f182b72f6 -r 8b507a9a2d40 QScintilla/Lexers/LexerPython.py
--- a/QScintilla/Lexers/LexerPython.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/QScintilla/Lexers/LexerPython.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a Python lexer with some additional methods.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import re
 
 from PyQt4.Qsci import QsciLexerPython,  QsciScintilla
@@ -26,7 +28,7 @@
         @param variant name of the language variant (string)
         @param parent parent widget of this lexer
         """
-        super().__init__(parent)
+        super(LexerPython, self).__init__(parent)
         Lexer.__init__(self)
         
         self.variant = variant

eric ide

mercurial