I have some function which uses outside variables. A (substantially) simplified example:
a = 2 b = 3 def f(x): return x * a + b
While I