tartrazine/spec/tests/python/test_fstring_26a.txt

21 lines
556 B
Plaintext
Raw Normal View History

2024-08-03 10:36:47 +00:00
---input---
message.append(f" [line {lineno:2d}]")
---tokens---
'message' Name
'.' Operator
'append' Name
'(' Punctuation
'f' Literal.String.Affix
'"' Literal.String.Double
' [line ' Literal.String.Double
'{' Literal.String.Interpol
'lineno' Name
':' Literal.String.Interpol
'2d' Literal.String.Double
'}' Literal.String.Interpol
']' Literal.String.Double
'"' Literal.String.Double
')' Punctuation
'\n' Text.Whitespace