-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathbad3.py
More file actions
34 lines (30 loc) · 2.08 KB
/
bad3.py
File metadata and controls
34 lines (30 loc) · 2.08 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
a = r"bad string
foo \' \" \a \b \c \f \n \r \t \v \5 \55 \555 \05 \005"
def foo(a=1): pass # doesn't break!
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
r : source.python, storage.type.string.python, string.regexp.quoted.single.python
" : punctuation.definition.string.begin.python, source.python, string.regexp.quoted.single.python
bad string : source.python, string.regexp.quoted.single.python
: invalid.illegal.newline.python, source.python, string.regexp.quoted.single.python
foo : source.python
: source.python
\ : punctuation.separator.continuation.line.python, source.python
' \" \a \b \c \f \n \r \t \v \5 \55 \555 \05 \005" : invalid.illegal.line.continuation.python, source.python
: source.python
def : meta.function.python, source.python, storage.type.function.python
: meta.function.python, source.python
foo : entity.name.function.python, meta.function.python, source.python
( : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.begin.python, source.python
a : meta.function.parameters.python, meta.function.python, source.python, variable.parameter.function.language.python
= : keyword.operator.python, meta.function.parameters.python, meta.function.python, source.python
1 : constant.numeric.dec.python, meta.function.parameters.python, meta.function.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
pass : keyword.control.flow.python, source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
doesn't break! : comment.line.number-sign.python, source.python