diff -r f4dd76230eea -r 4d80c8cc99a1 QScintilla/Lexers/LexerPython.py --- a/QScintilla/Lexers/LexerPython.py Mon Mar 11 19:50:50 2019 +0100 +++ b/QScintilla/Lexers/LexerPython.py Tue Mar 12 20:00:30 2019 +0100 @@ -43,8 +43,8 @@ self.baseStyles = [11] self.defaultSubStyles = { - 11: [ - { + 11: { + 0: { "Description": QCoreApplication.translate( "LexerPython", "Standard Library Modules"), "Words": """ @@ -73,7 +73,7 @@ "font_bold": True, } }, - { + 1: { "Description": QCoreApplication.translate( "LexerPython", "__future__ Imports"), "Words": """ @@ -84,7 +84,7 @@ "font_italic": True, } } - ] + }, } def language(self):