solorice/vscodium/extensions/magicstack.magicpython-1.1.1/test/fstrings/nested2.py
2022-04-28 21:17:01 +03:00

31 lines
2.5 KiB
Python

f"result: {value:{60}.{16!s:2}{'qwerty'[2]}}"
f : meta.fstring.python, source.python, storage.type.string.python, string.interpolated.python, string.quoted.single.python
" : meta.fstring.python, punctuation.definition.string.begin.python, source.python, string.interpolated.python, string.quoted.single.python
result: : meta.fstring.python, source.python, string.interpolated.python, string.quoted.single.python
{ : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
value : meta.fstring.python, source.python
: : meta.fstring.python, source.python, storage.type.format.python
{ : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
60 : constant.numeric.dec.python, meta.fstring.python, source.python
} : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
. : meta.fstring.python, source.python
{ : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
16 : constant.numeric.dec.python, meta.fstring.python, source.python
!s : meta.fstring.python, source.python, storage.type.format.python
:2 : meta.fstring.python, source.python, storage.type.format.python
} : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
{ : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
' : meta.fstring.python, punctuation.definition.string.begin.python, source.python, string.quoted.single.python
qwerty : meta.fstring.python, source.python, string.quoted.single.python
' : meta.fstring.python, punctuation.definition.string.end.python, source.python, string.quoted.single.python
[ : meta.fstring.python, punctuation.definition.list.begin.python, source.python
2 : constant.numeric.dec.python, meta.fstring.python, source.python
] : meta.fstring.python, punctuation.definition.list.end.python, source.python
} : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
} : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
" : meta.fstring.python, punctuation.definition.string.end.python, source.python, string.interpolated.python, string.quoted.single.python