def foo(bar): bar.xyzzy = 1 print bar.xyzzy #