Lazy attributes for Python objects
Lazy attributes are computed attributes that are evaluated only once, the first time they are used. Subsequent uses return the results of the first call. They come handy when code should run
* late, i.e. just before it is needed, and
* once, i.e. not twice, in the lifetime of an object.
You can think of it as deferred initialization. The possibilities are endless.
- Sources inherited from project openSUSE:Backports:SLE-15-SP1
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP1:Update/python-lazy && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
lazy-1.4.zip | 0000010551 10.3 KB | |
python-lazy.changes | 0000000683 683 Bytes | |
python-lazy.spec | 0000001952 1.91 KB |
Latest Revision
Ismail Dönmez (namtrac)
committed
(revision 1)
osc copypac from project:openSUSE:Leap:15.1 package:python-lazy revision:3
Comments 0