--- a/QScintilla/Lexers/LexerPython.py Sat Jun 28 16:26:02 2014 +0200 +++ b/QScintilla/Lexers/LexerPython.py Sun Jun 29 14:00:30 2014 +0200 @@ -156,3 +156,11 @@ @return string giving the keywords (string) or None """ return QsciLexerPython.keywords(self, kwSet) + + def maximumKeywordSet(self): + """ + Public method to get the maximum keyword set. + + @return maximum keyword set (integer) + """ + return 2