-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathimport9.py
More file actions
67 lines (63 loc) · 3.16 KB
/
import9.py
File metadata and controls
67 lines (63 loc) · 3.16 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
from . . . foo import \
(
# XXX: legal comment inside import
time as bar,
# another comment
baz,
datetime as ham
)
raise Exception('!') from None
from : keyword.control.import.python, source.python
: source.python
. : punctuation.separator.period.python, source.python
: source.python
. : punctuation.separator.period.python, source.python
: source.python
. : punctuation.separator.period.python, source.python
: source.python
foo : source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
\ : punctuation.separator.continuation.line.python, source.python
: source.python
: source.python
( : punctuation.parenthesis.begin.python, source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
: comment.line.number-sign.python, source.python
XXX : comment.line.number-sign.python, keyword.codetag.notation.python, source.python
: legal comment inside import : comment.line.number-sign.python, source.python
: source.python
time : source.python
: source.python
as : keyword.control.import.python, source.python
: source.python
bar : source.python
, : punctuation.separator.element.python, source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
another comment : comment.line.number-sign.python, source.python
: source.python
baz : source.python
, : punctuation.separator.element.python, source.python
: source.python
datetime : source.python
: source.python
as : keyword.control.import.python, source.python
: source.python
ham : source.python
: source.python
) : punctuation.parenthesis.end.python, source.python
raise : keyword.control.flow.python, source.python
: source.python
Exception : meta.function-call.python, source.python, support.type.exception.python
( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python
' : meta.function-call.arguments.python, meta.function-call.python, punctuation.definition.string.begin.python, source.python, string.quoted.single.python
! : meta.function-call.arguments.python, meta.function-call.python, source.python, string.quoted.single.python
' : meta.function-call.arguments.python, meta.function-call.python, punctuation.definition.string.end.python, source.python, string.quoted.single.python
) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python
: source.python
from : keyword.control.flow.python, source.python
: source.python
None : constant.language.python, source.python