summaryrefslogtreecommitdiffstats
path: root/tests/snippets/python/test_fstring_10a.txt
blob: a2e11ba2521f8bb51889572920c39121dddef4c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---input---
f'abc {a["x"]} def'

---tokens---
'f'           Literal.String.Affix
"'"           Literal.String.Single
'abc '        Literal.String.Single
'{'           Literal.String.Interpol
'a'           Name
'['           Punctuation
'"'           Literal.String.Double
'x'           Literal.String.Double
'"'           Literal.String.Double
']'           Punctuation
'}'           Literal.String.Interpol
' def'        Literal.String.Single
"'"           Literal.String.Single
'\n'          Text.Whitespace