forked from MagicStack/MagicPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformat3.py
More file actions
50 lines (47 loc) · 3.1 KB
/
format3.py
File metadata and controls
50 lines (47 loc) · 3.1 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
a = '%i' % 42
a = "%(language)s has %(number)03d quote types."
a = b"%(language)s has %(number)03d quote types."
a = R"%(language)s has %(number)03d quote types."
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
' : punctuation.definition.string.begin.python, source.python, string.quoted.single.python
%i : constant.character.format.placeholder.other.python, source.python, string.quoted.single.python
' : punctuation.definition.string.end.python, source.python, string.quoted.single.python
: source.python
% : keyword.operator.arithmetic.python, source.python
: source.python
42 : constant.numeric.dec.python, source.python
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
" : punctuation.definition.string.begin.python, source.python, string.quoted.single.python
%(language)s : constant.character.format.placeholder.other.python, source.python, string.quoted.single.python
has : source.python, string.quoted.single.python
%(number)03d : constant.character.format.placeholder.other.python, source.python, string.quoted.single.python
quote types. : source.python, string.quoted.single.python
" : punctuation.definition.string.end.python, source.python, string.quoted.single.python
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
b : source.python, storage.type.string.python, string.quoted.binary.single.python
" : punctuation.definition.string.begin.python, source.python, string.quoted.binary.single.python
%(language)s : constant.character.format.placeholder.other.python, source.python, string.quoted.binary.single.python
has : source.python, string.quoted.binary.single.python
%(number)03d : constant.character.format.placeholder.other.python, source.python, string.quoted.binary.single.python
quote types. : source.python, string.quoted.binary.single.python
" : punctuation.definition.string.end.python, source.python, string.quoted.binary.single.python
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
R : source.python, storage.type.string.python, string.quoted.raw.single.python
" : punctuation.definition.string.begin.python, source.python, string.quoted.raw.single.python
%(language)s : constant.character.format.placeholder.other.python, source.python, string.quoted.raw.single.python
has : source.python, string.quoted.raw.single.python
%(number)03d : constant.character.format.placeholder.other.python, source.python, string.quoted.raw.single.python
quote types. : source.python, string.quoted.raw.single.python
" : punctuation.definition.string.end.python, source.python, string.quoted.raw.single.python