summaryrefslogtreecommitdiffstats
path: root/tests/snippets/python/test_fstring_26b.txt
blob: a8131499da150b4b626e339eada4a11bff4ac7cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---input---
message.append(f' [line {lineno:2d}]')

---tokens---
'message'     Name
'.'           Operator
'append'      Name
'('           Punctuation
'f'           Literal.String.Affix
"'"           Literal.String.Single
' [line '     Literal.String.Single
'{'           Literal.String.Interpol
'lineno'      Name
':'           Literal.String.Interpol
'2d'          Literal.String.Single
'}'           Literal.String.Interpol
']'           Literal.String.Single
"'"           Literal.String.Single
')'           Punctuation
'\n'          Text.Whitespace