forked from MagicStack/MagicPython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdecl1.py
45 lines (42 loc) · 4.15 KB
/
decl1.py
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
def myfunc(self, # gotta have self
param1="value", # values are cool
param2=True, # or False, whatever
**kwargs): # you never know
pass
def : meta.function.python, source.python, storage.type.function.python
: meta.function.python, source.python
myfunc : 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
# : comment.line.number-sign.python, meta.function.parameters.python, meta.function.python, punctuation.definition.comment.python, source.python
gotta have self : comment.line.number-sign.python, meta.function.parameters.python, meta.function.python, source.python
: meta.function.parameters.python, meta.function.python, source.python
param1 : meta.function.parameters.python, meta.function.python, source.python, variable.parameter.function.language.python
= : keyword.operator.python, meta.function.parameters.python, meta.function.python, source.python
" : meta.function.parameters.python, meta.function.python, punctuation.definition.string.begin.python, source.python, string.quoted.single.python
value : meta.function.parameters.python, meta.function.python, source.python, string.quoted.single.python
" : meta.function.parameters.python, meta.function.python, punctuation.definition.string.end.python, source.python, string.quoted.single.python
, : meta.function.parameters.python, meta.function.python, punctuation.separator.parameters.python, source.python
: meta.function.parameters.python, meta.function.python, source.python
# : comment.line.number-sign.python, meta.function.parameters.python, meta.function.python, punctuation.definition.comment.python, source.python
values are cool : comment.line.number-sign.python, meta.function.parameters.python, meta.function.python, source.python
: meta.function.parameters.python, meta.function.python, source.python
param2 : meta.function.parameters.python, meta.function.python, source.python, variable.parameter.function.language.python
= : keyword.operator.python, meta.function.parameters.python, meta.function.python, source.python
True : constant.language.python, meta.function.parameters.python, meta.function.python, source.python
, : meta.function.parameters.python, meta.function.python, punctuation.separator.parameters.python, source.python
: meta.function.parameters.python, meta.function.python, source.python
# : comment.line.number-sign.python, meta.function.parameters.python, meta.function.python, punctuation.definition.comment.python, source.python
or False, whatever : comment.line.number-sign.python, meta.function.parameters.python, meta.function.python, source.python
: meta.function.parameters.python, meta.function.python, source.python
** : keyword.operator.unpacking.parameter.python, meta.function.parameters.python, meta.function.python, source.python
kwargs : meta.function.parameters.python, meta.function.python, source.python, variable.parameter.function.language.python
) : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.end.python, source.python
: : meta.function.python, punctuation.section.function.begin.python, source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
you never know : comment.line.number-sign.python, source.python
: source.python
pass : keyword.control.flow.python, source.python