forked from MagicStack/MagicPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformat9.py
More file actions
46 lines (43 loc) · 2.65 KB
/
format9.py
File metadata and controls
46 lines (43 loc) · 2.65 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
a = 'blah {foo-bar %d'
a = 'blah {foo-bar %d}'
a = 'blah {foo-bar %d //insane {}}'
a = '{}blah {foo-bar %d //insane {}}'
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
' : punctuation.definition.string.begin.python, source.python, string.quoted.single.python
blah {foo-bar : source.python, string.quoted.single.python
%d : constant.character.format.placeholder.other.python, 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
' : punctuation.definition.string.begin.python, source.python, string.quoted.single.python
blah : source.python, string.quoted.single.python
{foo-bar : source.python, string.quoted.single.python
%d : constant.character.format.placeholder.other.python, source.python, string.quoted.single.python
} : 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
' : punctuation.definition.string.begin.python, source.python, string.quoted.single.python
blah : source.python, string.quoted.single.python
{foo-bar : source.python, string.quoted.single.python
%d : constant.character.format.placeholder.other.python, source.python, string.quoted.single.python
//insane {}} : 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
' : punctuation.definition.string.begin.python, source.python, string.quoted.single.python
{} : constant.character.format.placeholder.other.python, source.python, string.quoted.single.python
blah : source.python, string.quoted.single.python
{foo-bar : source.python, string.quoted.single.python
%d : constant.character.format.placeholder.other.python, source.python, string.quoted.single.python
//insane {}} : source.python, string.quoted.single.python
' : punctuation.definition.string.end.python, source.python, string.quoted.single.python