def foo(): def a(): pass x = 1 x = 2