Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python classmethod property

class classproperty(property):
    def __get__(self, cls, owner):
        return classmethod(self.fget).__get__(None, owner)()
 
PREVIOUS NEXT
Tagged: #python #classmethod #property
ADD COMMENT
Topic
Name
1+1 =