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

7 lines
131 B
Python

import math
def call_with_x_squared(x, function):
x = x*x
return function(x)
print call_with_x_squared(2, math.factorial)