diff options
Diffstat (limited to 'logilab/common/decorators.py')
-rw-r--r-- | logilab/common/decorators.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/logilab/common/decorators.py b/logilab/common/decorators.py index 3367e16..cff75c9 100644 --- a/logilab/common/decorators.py +++ b/logilab/common/decorators.py @@ -135,7 +135,7 @@ def cached( class cachedproperty(object): - """ Provides a cached property equivalent to the stacking of + """Provides a cached property equivalent to the stacking of @cached and @property, but more efficient. After first usage, the <property_name> becomes part of the object's @@ -221,8 +221,7 @@ class wproperty(object): class classproperty(object): - """this is a simple property-like class but for class attributes. - """ + """this is a simple property-like class but for class attributes.""" def __init__(self, get): self.get = get |