mirror of
https://github.com/github/codeql.git
synced 2025-12-23 12:16:33 +01:00
11 lines
211 B
Python
11 lines
211 B
Python
|
|
def modifies_locals_sum(x, y):
|
|
locals()['z'] = x + y
|
|
#z will not be defined as modifications to locals() do not alter the local variables.
|
|
return z
|
|
|
|
def fixed_sum(x, y):
|
|
z = x + y
|
|
return z
|
|
|