forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.py
More file actions
64 lines (61 loc) · 761 Bytes
/
test.py
File metadata and controls
64 lines (61 loc) · 761 Bytes
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
# No
import mod
def no():
a
a.b
1+p
b"Hi"
u"Hi"
[x]
{}
x,y
s[9]
f()
f(a,b)
o.m()
o.m(a, b)
o.m[0]
x()[0]
yield v
[1 for a in b]
{x for x in z}
{x:y for x,y in z}
#Yes
def yes():
(a)
(a.b)
(1+p)
(b"Hi")
(u"Hi")
([x])
({})
(x,y)
(s[9])
(f())
(f(a,b))
(o.m())
(o.m(a, b))
(o.m[0])
(x()[0])
(yield 1)
([1 for a in b])
({x for x in z})
({x:y for x,y in z})
(b"x")
("x"+1)
(1+f())
(1+2+f())
("Failed to parse template " + name + ": " + repr(ex))
(1+2+3+4)
(1+2+3+4+5)
(1+2+3+4+5+6)
def multiline():
( 1 +
( 2 * 3
* 4 )
)
(
x,
1,
"a"
)