summaryrefslogtreecommitdiff
path: root/tests/snippets/python/test_fstring_18b.txt
blob: a189d00a86d5f6ab167c74f6bfe29b9ce588b53f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---input---
f"{fn(lst,2)} {fn(lst,3)}"

---tokens---
'f'           Literal.String.Affix
'"'           Literal.String.Double
'{'           Literal.String.Interpol
'fn'          Name
'('           Punctuation
'lst'         Name
','           Punctuation
'2'           Literal.Number.Integer
')'           Punctuation
'}'           Literal.String.Interpol
' '           Literal.String.Double
'{'           Literal.String.Interpol
'fn'          Name
'('           Punctuation
'lst'         Name
','           Punctuation
'3'           Literal.Number.Integer
')'           Punctuation
'}'           Literal.String.Interpol
'"'           Literal.String.Double
'\n'          Text