python方法分为对象方法、类方法和静态方法
class Myclass:
def method(self): #对象方法
print("obj method")
@classmethod
def classMethod(cls): #类方法
python方法分为对象方法、类方法和静态方法
class Myclass:
def method(self): #对象方法
print("obj method")
@classmethod
def classMethod(cls): #类方法