📜  python classmethod 属性 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:15.501000             🧑  作者: Mango

代码示例1
class classproperty(property):
    def __get__(self, cls, owner):
        return classmethod(self.fget).__get__(None, owner)()