摘要: python中@classmethod @staticmethod区别 Python中3种方式定义类方法, 常规方式, @classmethod修饰方式, @staticmethod修饰方式. class A(object): def foo(self, x): print("executing f 阅读全文
posted @ 2018-04-25 12:24 wzqwer 阅读(166) 评论(0) 推荐(0) 编辑