tartrazine/spec/tests/python/test_fstring_16a.txt

19 lines
474 B
Plaintext

---input---
f'{i}:{d[i]}'
---tokens---
'f' Literal.String.Affix
"'" Literal.String.Single
'{' Literal.String.Interpol
'i' Name
'}' Literal.String.Interpol
':' Literal.String.Single
'{' Literal.String.Interpol
'd' Name
'[' Punctuation
'i' Name
']' Punctuation
'}' Literal.String.Interpol
"'" Literal.String.Single
'\n' Text.Whitespace