QScintilla/TypingCompleters/__init__.py

changeset 802
e8882d16384c
parent 791
9ec2ac20e54e
child 945
8cd4d08fa9f6
child 1510
e75ecf2bd9dd
--- a/QScintilla/TypingCompleters/__init__.py	Sun Jan 02 12:01:37 2011 +0100
+++ b/QScintilla/TypingCompleters/__init__.py	Mon Jan 03 17:10:45 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