Skip to content

Commit 304da6c

Browse files
committed
-
1 parent 69e4352 commit 304da6c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source_py3/python_toolbox/caching/cached_property.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,8 @@ def inner(same_method_function, self_obj, *args, **kwargs):
7474
with getattr(self_obj, self.get_our_name(self_obj)):
7575
return method_function(self_obj, *args, **kwargs)
7676
return decorator_tools.decorator(inner, method_function)
77+
78+
79+
def __repr__(self):
80+
return '<%s: %s>' % (type(self).__name__, self.our_name or self.getter)
81+

0 commit comments

Comments
 (0)