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