QScintilla/TypingCompleters/__init__.py

branch
5_0_x
changeset 809
0f19e2fdce8f
parent 792
a13346916170
child 945
8cd4d08fa9f6
child 1510
e75ecf2bd9dd
diff -r 4daa1d31f4ba -r 0f19e2fdce8f QScintilla/TypingCompleters/__init__.py
--- a/QScintilla/TypingCompleters/__init__.py	Sun Jan 02 10:28:00 2011 +0100
+++ b/QScintilla/TypingCompleters/__init__.py	Wed Jan 05 16:21:11 2011 +0100
@@ -17,7 +17,7 @@
     @return reference to the instanciated lexer object (QsciLexer)
     """
     try:
-        if language == "Python":
+        if language in ["Python", "Python2", "Python3"]:
             from .CompleterPython import CompleterPython
             return CompleterPython(editor, parent)
         elif language == "Ruby":

eric ide

mercurial