forked from MagicStack/MagicPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontinuation4.py
More file actions
61 lines (57 loc) · 3.39 KB
/
continuation4.py
File metadata and controls
61 lines (57 loc) · 3.39 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
# not a docstring
a = \
r'''
>>> print(42)
a[wer]
'''
b = \
# docstring
r'''
>>> print()
a[wer]
'''
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
not a docstring : comment.line.number-sign.python, source.python
: source.python
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
\ : punctuation.separator.continuation.line.python, source.python
: source.python
: source.python
r : source.python, storage.type.string.python, string.regexp.quoted.multi.python
''' : punctuation.definition.string.begin.python, source.python, string.regexp.quoted.multi.python
>>> print : source.python, string.regexp.quoted.multi.python
( : punctuation.parenthesis.begin.regexp, source.python, string.regexp.quoted.multi.python, support.other.parenthesis.regexp
42 : source.python, string.regexp.quoted.multi.python
) : punctuation.parenthesis.end.regexp, source.python, string.regexp.quoted.multi.python, support.other.parenthesis.regexp
a : source.python, string.regexp.quoted.multi.python
[ : constant.other.set.regexp, meta.character.set.regexp, punctuation.character.set.begin.regexp, source.python, string.regexp.quoted.multi.python
w : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.multi.python
e : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.multi.python
r : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.multi.python
] : constant.other.set.regexp, meta.character.set.regexp, punctuation.character.set.end.regexp, source.python, string.regexp.quoted.multi.python
: source.python, string.regexp.quoted.multi.python
''' : punctuation.definition.string.end.python, source.python, string.regexp.quoted.multi.python
: source.python
: source.python
b : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
\ : punctuation.separator.continuation.line.python, source.python
: source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
docstring : comment.line.number-sign.python, source.python
: source.python
r : source.python, storage.type.string.python, string.quoted.docstring.raw.multi.python
''' : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.raw.multi.python
: source.python, string.quoted.docstring.raw.multi.python
>>> : keyword.control.flow.python, source.python, string.quoted.docstring.raw.multi.python
print() : source.python, string.quoted.docstring.raw.multi.python
a[wer] : source.python, string.quoted.docstring.raw.multi.python
: source.python, string.quoted.docstring.raw.multi.python
''' : punctuation.definition.string.end.python, source.python, string.quoted.docstring.raw.multi.python