OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, f) |
def | __get__ (self, obj, owner) |
A version of @property which caches the value. On access, it calls the underlying function and sets the value in `__dict__` so future accesses will not re-call the property.
def __init__ | ( | self, | |
f | |||
) |
def __get__ | ( | self, | |
obj, | |||
owner | |||
) |