PyFile:SingleQuotedFStringInsideMultilineFStringTerminatedByLineBreakInText.py PyAssignmentStatement PyTargetExpression: s PsiElement(Py:IDENTIFIER)('s') PsiWhiteSpace(' ') PsiElement(Py:EQ)('=') PsiWhiteSpace(' ') PyStringLiteralExpression: {f'foo PyFormattedStringElement PsiElement(Py:FSTRING_START)('f"""') PyFStringFragment PsiElement(Py:FSTRING_FRAGMENT_START)('{') PyStringLiteralExpression: foo PyFormattedStringElement PsiElement(Py:FSTRING_START)('f'') PsiElement(Py:FSTRING_TEXT)('foo') PsiErrorElement:' expected PsiErrorElement:Type conversion, ':' or '}' expected PsiErrorElement:""" expected PsiWhiteSpace('\n') PyExpressionStatement PyReferenceExpression: bar PsiElement(Py:IDENTIFIER)('bar') PsiErrorElement:End of statement expected PyExpressionStatement PyStringLiteralExpression: }""" PsiElement(Py:SINGLE_QUOTED_STRING)(''}"""')