PyFile:CommaAfterStarArg.py PyFunction('some_function') PsiElement(Py:DEF_KEYWORD)('def') PsiWhiteSpace(' ') PsiElement(Py:IDENTIFIER)('some_function') PyParameterList PsiElement(Py:LPAR)('(') PyNamedParameter('args') PsiElement(Py:MULT)('*') PsiElement(Py:IDENTIFIER)('args') PsiElement(Py:COMMA)(',') PsiErrorElement:Expression expected PsiElement(Py:RPAR)(')') PsiElement(Py:COLON)(':') PsiWhiteSpace(' ') PsiComment(Py:END_OF_LINE_COMMENT)('# <- missing highlighting here') PsiWhiteSpace('\n ') PyStatementList PyPassStatement PsiElement(Py:PASS_KEYWORD)('pass') PsiWhiteSpace('\n\n') PyFunction('some_function') PsiElement(Py:DEF_KEYWORD)('def') PsiWhiteSpace(' ') PsiElement(Py:IDENTIFIER)('some_function') PyParameterList PsiElement(Py:LPAR)('(') PyNamedParameter('kwargs') PsiElement(Py:EXP)('**') PsiElement(Py:IDENTIFIER)('kwargs') PsiElement(Py:COMMA)(',') PsiErrorElement:Expression expected PsiElement(Py:RPAR)(')') PsiElement(Py:COLON)(':') PsiWhiteSpace(' ') PsiComment(Py:END_OF_LINE_COMMENT)('# <- missing highlighting here') PsiWhiteSpace('\n ') PyStatementList PyPassStatement PsiElement(Py:PASS_KEYWORD)('pass')