SOME_GLOBAL = 42 a = 2 + SOME_GLOBAL def func(): return 1 + a