blob: 5957e3db6e82b5d0e2abb4fe4f77003c67214665 [file] [log] [blame]
Tor Norbye1aa2e092014-08-20 17:01:23 -07001class Boo:
2 def bu(self, y):
3 return 1 + y
4
5
6class Foo:
7 def fu(self):
8 return Boo()
9
10x = 0
11print(x)
12x = Foo().fu()\
13.bu(x)
14print(x)
15x=2
16print(x)