Files
codeql/python/ql/test/library-tests/PointsTo/new/code/a_simple.py
2018-11-19 15:15:54 +00:00

37 lines
501 B
Python

f1 = 1.0
dict
tuple
i1 = 0
s = ()
def func():
pass
class C(object):
pass
def vararg_kwarg(*t, **d):
t
d
def multi_loop(seq):
x = None
for x, y in seq:
x
def with_definition(x):
with x as y:
y
def multi_loop_in_try(x):
try: # This causes additional exception edges, such that:
for p, q in x: # `x` and `p` are not in the same BB.
p
except KeyError:
pass
def f(*args, **kwargs):
not args[0]
not kwargs["x"]