1 #!/usr/bin/env python 2 3 class C: 4 x = 1 5 x = 2 6 7 class D(C): 8 pass 9 10 result_1 = C.x 11 result_2 = D.x 12 13 # vim: tabstop=4 expandtab shiftwidth=4