摘要: >>> class A(object): bar = 1 def func1(self): print 'foo' >>> class A(object): bar = 1 def func1(self): print 'foo' @classmethod def func2(cls): ... 阅读全文
posted @ 2018-09-13 13:57 道高一尺 阅读(279) 评论(0) 推荐(0) 编辑