pwtools.decorators.lazyprop¶
- class pwtools.decorators.lazyprop(fget)[source]¶
Bases:
object
Decorator for creating lazy evaluated properties. The property should represent non-mutable data, as it replaces itself.
kudos: Cyclone over at stackoverflow! http://stackoverflow.com/questions/3012421/python-lazy-property-decorator
Methods