摘要: class T(): def aa(self): write = 1 print '123' class B(): def hehe(self): print write c = B() c.hehe() a = T()a.aa() 输出: 123 1 阅读全文
posted @ 2016-02-07 13:16 elliottc 阅读(263) 评论(0) 推荐(0) 编辑