1# check that we can use an instance of B in a method of A
2
3class A:
4    def store(a, b):
5        a.value = b
6
7class B:
8    pass
9
10b = B()
11A.store(b, 1)
12print(b.value)
13