diff --git a/wxPython/wxPython/lib/editor/tokenizer.py b/wxPython/wxPython/lib/editor/tokenizer.py index aafe0aaeb5..1d8e18a8dd 100644 --- a/wxPython/wxPython/lib/editor/tokenizer.py +++ b/wxPython/wxPython/lib/editor/tokenizer.py @@ -31,7 +31,7 @@ class Tokenizer: tname = tok_name[type] if iskeyword(string): tname = "KEY" - self.toks.append(tname, string, b, e) + self.toks.append( (tname, string, b, e) ) def readline(self): t = self.text