1 class A: 2 pass 3 4 def f1(a): 5 c = a.x 6 7 def f2(a): 8 c = a.x 9 10 def g(a): 11 a.x = 456 12 13 a = A() 14 f1(a) 15 g(a) 16 f2(a)