forked from MagicStack/MagicPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathunicode2.py
More file actions
25 lines (22 loc) · 1.69 KB
/
unicode2.py
File metadata and controls
25 lines (22 loc) · 1.69 KB
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
a = f"""
multiline "unicode" string
\N{BLACK SPADE SUIT} {foo+2}
"""
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
f : meta.fstring.python, source.python, storage.type.string.python, string.interpolated.python, string.quoted.multi.python
""" : meta.fstring.python, punctuation.definition.string.begin.python, source.python, string.interpolated.python, string.quoted.multi.python
: meta.fstring.python, source.python, string.interpolated.python, string.quoted.multi.python
multiline "unicode" string : meta.fstring.python, source.python, string.interpolated.python, string.quoted.multi.python
: meta.fstring.python, source.python, string.interpolated.python, string.quoted.multi.python
\N{BLACK SPADE SUIT} : constant.character.escape.python, meta.fstring.python, source.python
: meta.fstring.python, source.python, string.interpolated.python, string.quoted.multi.python
{ : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
foo : meta.fstring.python, source.python
+ : keyword.operator.arithmetic.python, meta.fstring.python, source.python
2 : 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, string.interpolated.python, string.quoted.multi.python
""" : meta.fstring.python, punctuation.definition.string.end.python, source.python, string.interpolated.python, string.quoted.multi.python