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":