forked from MagicStack/MagicPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix1.py
More file actions
110 lines (103 loc) · 7.73 KB
/
mix1.py
File metadata and controls
110 lines (103 loc) · 7.73 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
'''TEST'''
class Foo:
# comment
R'''TEST'''
def foo(self, a:'''TEST''') -> '''TEST''': #ok
r'''TEST'''
with bar:
pass
def bar(self, a:'''TEST''') -> '''TEST''': pass
'''TEST''' # additional docstring
with bar:
pass
''' : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.multi.python
TEST : source.python, string.quoted.docstring.multi.python
''' : punctuation.definition.string.end.python, source.python, string.quoted.docstring.multi.python
: source.python
class : meta.class.python, source.python, storage.type.class.python
: meta.class.python, source.python
Foo : entity.name.type.class.python, meta.class.python, source.python
: : meta.class.python, punctuation.section.class.begin.python, source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
comment : comment.line.number-sign.python, source.python
: source.python
R : source.python, storage.type.string.python, string.quoted.docstring.raw.multi.python
''' : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.raw.multi.python
TEST : source.python, string.quoted.docstring.raw.multi.python
''' : punctuation.definition.string.end.python, source.python, string.quoted.docstring.raw.multi.python
: source.python
: meta.function.python, source.python
def : meta.function.python, source.python, storage.type.function.python
: meta.function.python, source.python
foo : entity.name.function.python, meta.function.python, source.python
( : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.begin.python, source.python
self : meta.function.parameters.python, meta.function.python, source.python, variable.parameter.function.language.python, variable.parameter.function.language.special.self.python
, : meta.function.parameters.python, meta.function.python, punctuation.separator.parameters.python, source.python
: meta.function.parameters.python, meta.function.python, source.python
a : meta.function.parameters.python, meta.function.python, source.python, variable.parameter.function.language.python
: : meta.function.parameters.python, meta.function.python, punctuation.separator.annotation.python, source.python
''' : meta.function.parameters.python, meta.function.python, punctuation.definition.string.begin.python, source.python, string.quoted.multi.python
TEST : meta.function.parameters.python, meta.function.python, source.python, string.quoted.multi.python
''' : meta.function.parameters.python, meta.function.python, punctuation.definition.string.end.python, source.python, string.quoted.multi.python
) : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.end.python, source.python
: meta.function.python, source.python
-> : meta.function.python, punctuation.separator.annotation.result.python, source.python
: meta.function.python, source.python
''' : meta.function.python, punctuation.definition.string.begin.python, source.python, string.quoted.multi.python
TEST : meta.function.python, source.python, string.quoted.multi.python
''' : meta.function.python, punctuation.definition.string.end.python, source.python, string.quoted.multi.python
: : meta.function.python, punctuation.section.function.begin.python, source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
ok : comment.line.number-sign.python, source.python
: source.python
r : source.python, storage.type.string.python, string.quoted.docstring.raw.multi.python
''' : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.raw.multi.python
TEST : source.python, string.quoted.docstring.raw.multi.python
''' : punctuation.definition.string.end.python, source.python, string.quoted.docstring.raw.multi.python
: source.python
with : keyword.control.flow.python, source.python
: source.python
bar : source.python
: : punctuation.separator.colon.python, source.python
: source.python
pass : keyword.control.flow.python, source.python
: source.python
: meta.function.python, source.python
def : meta.function.python, source.python, storage.type.function.python
: meta.function.python, source.python
bar : entity.name.function.python, meta.function.python, source.python
( : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.begin.python, source.python
self : meta.function.parameters.python, meta.function.python, source.python, variable.parameter.function.language.python, variable.parameter.function.language.special.self.python
, : meta.function.parameters.python, meta.function.python, punctuation.separator.parameters.python, source.python
: meta.function.parameters.python, meta.function.python, source.python
a : meta.function.parameters.python, meta.function.python, source.python, variable.parameter.function.language.python
: : meta.function.parameters.python, meta.function.python, punctuation.separator.annotation.python, source.python
''' : meta.function.parameters.python, meta.function.python, punctuation.definition.string.begin.python, source.python, string.quoted.multi.python
TEST : meta.function.parameters.python, meta.function.python, source.python, string.quoted.multi.python
''' : meta.function.parameters.python, meta.function.python, punctuation.definition.string.end.python, source.python, string.quoted.multi.python
) : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.end.python, source.python
: meta.function.python, source.python
-> : meta.function.python, punctuation.separator.annotation.result.python, source.python
: meta.function.python, source.python
''' : meta.function.python, punctuation.definition.string.begin.python, source.python, string.quoted.multi.python
TEST : meta.function.python, source.python, string.quoted.multi.python
''' : meta.function.python, punctuation.definition.string.end.python, source.python, string.quoted.multi.python
: : meta.function.python, punctuation.section.function.begin.python, source.python
: source.python
pass : keyword.control.flow.python, source.python
: source.python
''' : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.multi.python
TEST : source.python, string.quoted.docstring.multi.python
''' : punctuation.definition.string.end.python, source.python, string.quoted.docstring.multi.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
additional docstring : comment.line.number-sign.python, source.python
: source.python
with : keyword.control.flow.python, source.python
: source.python
bar : source.python
: : punctuation.separator.colon.python, source.python
: source.python
pass : keyword.control.flow.python, source.python