x = 3 def f(): x.append('xyz') def g(): print "global y in m:", y