class Foo(object): test = 'y' do_something_with(test) x = 1 y = 4 do_something_with(y)