-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathtry1.py
More file actions
55 lines (52 loc) · 2.32 KB
/
try1.py
File metadata and controls
55 lines (52 loc) · 2.32 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
try:
1/0
except AbcError as ex:
pass
except (ZeroDivisionError, GhiError) as ex:
print(ex)
else:
1
finally:
2
try : keyword.control.flow.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
1 : constant.numeric.dec.python, source.python
/ : keyword.operator.arithmetic.python, source.python
0 : constant.numeric.dec.python, source.python
except : keyword.control.flow.python, source.python
: source.python
AbcError : source.python
: source.python
as : keyword.control.flow.python, source.python
: source.python
ex : source.python
: : punctuation.separator.colon.python, source.python
: source.python
pass : keyword.control.flow.python, source.python
except : keyword.control.flow.python, source.python
: source.python
( : punctuation.parenthesis.begin.python, source.python
ZeroDivisionError : source.python, support.type.exception.python
, : punctuation.separator.element.python, source.python
: source.python
GhiError : source.python
) : punctuation.parenthesis.end.python, source.python
: source.python
as : keyword.control.flow.python, source.python
: source.python
ex : source.python
: : punctuation.separator.colon.python, source.python
: source.python
print : meta.function-call.python, source.python, support.function.builtin.python
( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python
ex : meta.function-call.arguments.python, meta.function-call.python, source.python
) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python
else : keyword.control.flow.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
1 : constant.numeric.dec.python, source.python
finally : keyword.control.flow.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
2 : constant.numeric.dec.python, source.python