-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathlambda5.py
More file actions
29 lines (26 loc) · 1.78 KB
/
lambda5.py
File metadata and controls
29 lines (26 loc) · 1.78 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
anon = lambda -> qqq[None]: None
def f(): return 1 # this line should not break
anon : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
lambda : meta.lambda-function.python, source.python, storage.type.function.lambda.python
: meta.function.lambda.parameters.python, meta.lambda-function.python, source.python
-> : invalid.illegal.annotation.python, meta.function.lambda.parameters.python, meta.lambda-function.python, source.python
qqq[None] : meta.function.lambda.parameters.python, meta.lambda-function.python, source.python
: : meta.lambda-function.python, punctuation.section.function.lambda.begin.python, source.python
: source.python
None : constant.language.python, source.python
def : meta.function.python, source.python, storage.type.function.python
: meta.function.python, source.python
f : entity.name.function.python, meta.function.python, source.python
( : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.begin.python, source.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
return : keyword.control.flow.python, source.python
: source.python
1 : constant.numeric.dec.python, source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
this line should not break : comment.line.number-sign.python, source.python