python 类

静态方法和类方法都需要使用修饰器,分别使用的是staticmethod和classmethod。属性方法的使用修饰器为property。

原文地址:https://www.cnblogs.com/wangchuang/p/11063054.html