class C:
    def print_x(self):
        print self.x

a = C()
a.x = 0
f = a.print_x
a.x = 42
f()

c8d6e3dee0babad87a6f7ea007e57edfb33815c6
class C:
    def print_x(self):
        print self.x

a = C()
a.x = 0
f = a.print_x
a.x = 42
f()
