mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
16 lines
325 B
Python
16 lines
325 B
Python
|
|
#All Python2 kinds of AST nodes, thus all Python2 of flow nodes
|
|
|
|
class C:
|
|
|
|
def stmts(p0, p1):
|
|
exec "print('Hello World')"
|
|
print "hello"
|
|
print >> fd, "hello"
|
|
if x:
|
|
print y
|
|
|
|
def exprs(p2, p3):
|
|
`x`
|
|
[ a + "Hi" for a in str(y) ]
|