tartrazine/spec/tests/python/test_fstring_34b.txt

21 lines
605 B
Plaintext

---input---
f'*{f"{n=}":30}*'
---tokens---
'f' Literal.String.Affix
"'" Literal.String.Single
'*' Literal.String.Single
'{' Literal.String.Interpol
'f' Literal.String.Affix
'"' Literal.String.Double
'{' Literal.String.Interpol
'n' Name
'=}' Literal.String.Interpol
'"' Literal.String.Double
':' Literal.String.Interpol
'30' Literal.String.Single
'}' Literal.String.Interpol
'*' Literal.String.Single
"'" Literal.String.Single
'\n' Text.Whitespace