-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathannotation1.py
More file actions
28 lines (24 loc) · 1.47 KB
/
annotation1.py
File metadata and controls
28 lines (24 loc) · 1.47 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
some_number: int # variable without initial value
some_list: List[int] = [] # variable with initial value
some_number : source.python
: : punctuation.separator.colon.python, source.python
: source.python
int : source.python, support.type.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
variable without initial value : comment.line.number-sign.python, source.python
some_list : source.python
: : punctuation.separator.colon.python, source.python
: source.python
List : meta.indexed-name.python, meta.item-access.python, source.python
[ : meta.item-access.python, punctuation.definition.arguments.begin.python, source.python
int : meta.item-access.arguments.python, meta.item-access.python, source.python, support.type.python
] : meta.item-access.python, punctuation.definition.arguments.end.python, source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
[ : punctuation.definition.list.begin.python, source.python
] : punctuation.definition.list.end.python, source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
variable with initial value : comment.line.number-sign.python, source.python