tartrazine/spec/tests/python/test_fstring_25b.txt

25 lines
653 B
Plaintext

---input---
extra = f"{extra},waiters:{len(self._waiters)}"
---tokens---
'extra' Name
' ' Text
'=' Operator
' ' Text
'f' Literal.String.Affix
'"' Literal.String.Double
'{' Literal.String.Interpol
'extra' Name
'}' Literal.String.Interpol
',waiters:' Literal.String.Double
'{' Literal.String.Interpol
'len' Name.Builtin
'(' Punctuation
'self' Name.Builtin.Pseudo
'.' Operator
'_waiters' Name
')' Punctuation
'}' Literal.String.Interpol
'"' Literal.String.Double
'\n' Text.Whitespace