1 import package.module 2 3 C = module.Class 4 c = module 5 f = c.Class 6 7 def t(): 8 x = c.Class 9 return x 10 11 print C.attr # 457 12 print f.attr # 457 13 print t().attr # 457