1 #!/usr/bin/env python 2 3 class B: 4 pass 5 6 class A: 7 c0 = B 8 9 # context on A attribute context on a attribute 10 A.c0 # none none 11 A.c1 = B # none none 12 a = A() 13 a.c2 = B # N/A none 14 15 # vim: tabstop=4 expandtab shiftwidth=4