Files
codeql/python/ql/src/Variables/LeakingListComprehensionFixed.py
2018-11-19 15:10:42 +00:00

7 lines
119 B
Python

def just_three():
x = 3
[0 for y in range(3)]
return x # Will return always return 3.
print(just_three())