摘要: >>> class foo(): clssvar=[1,2] def __init__(self): self.instance=[1,2,3] def hehe(self): print 'haha' >>> foo.hehe <unbound method foo.hehe> >>> a=foo 阅读全文
posted @ 2016-02-19 13:50 dreamfor 阅读(2161) 评论(0) 推荐(0) 编辑