def a(): foo = [42] def b(): foo[0] = 3.14 b()