forked from MagicStack/MagicPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimple1.py
More file actions
57 lines (53 loc) · 4.15 KB
/
simple1.py
File metadata and controls
57 lines (53 loc) · 4.15 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
a = f"{0[ ]:X>+10d}"
a = f"{0[ ]!s:X>+10d}"
a = f"{0[ ]:Xd>+10d}" #invalid
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.single.python
" : meta.fstring.python, punctuation.definition.string.begin.python, source.python, string.interpolated.python, string.quoted.single.python
{ : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
0 : constant.numeric.dec.python, meta.fstring.python, source.python
[ : meta.fstring.python, punctuation.definition.list.begin.python, source.python
: meta.fstring.python, source.python
] : meta.fstring.python, punctuation.definition.list.end.python, source.python
:X>+10d : meta.fstring.python, source.python, storage.type.format.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
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.single.python
" : meta.fstring.python, punctuation.definition.string.begin.python, source.python, string.interpolated.python, string.quoted.single.python
{ : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
0 : constant.numeric.dec.python, meta.fstring.python, source.python
[ : meta.fstring.python, punctuation.definition.list.begin.python, source.python
: meta.fstring.python, source.python
] : meta.fstring.python, punctuation.definition.list.end.python, source.python
!s : meta.fstring.python, source.python, storage.type.format.python
:X>+10d : meta.fstring.python, source.python, storage.type.format.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
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.single.python
" : meta.fstring.python, punctuation.definition.string.begin.python, source.python, string.interpolated.python, string.quoted.single.python
{ : constant.character.format.placeholder.other.python, meta.fstring.python, source.python
0 : constant.numeric.dec.python, meta.fstring.python, source.python
[ : meta.fstring.python, punctuation.definition.list.begin.python, source.python
: meta.fstring.python, source.python
] : meta.fstring.python, punctuation.definition.list.end.python, source.python
: : meta.fstring.python, punctuation.separator.colon.python, source.python
Xd : meta.fstring.python, source.python
> : keyword.operator.comparison.python, meta.fstring.python, source.python
+ : keyword.operator.arithmetic.python, meta.fstring.python, source.python
10d : invalid.illegal.name.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
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
invalid : comment.line.number-sign.python, source.python