summaryrefslogtreecommitdiffstats
path: root/tests/snippets/python/test_fstring_17a.txt
blob: 9eefd918605f4c2300d292b1798a11048e1ee188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---input---
f'x = {x:+3}'

---tokens---
'f'           Literal.String.Affix
"'"           Literal.String.Single
'x = '        Literal.String.Single
'{'           Literal.String.Interpol
'x'           Name
':'           Literal.String.Interpol
'+3'          Literal.String.Single
'}'           Literal.String.Interpol
"'"           Literal.String.Single
'\n'          Text.Whitespace