Nuke timed_cached_property until I'm happy with an implementation
[cached-property.git] / cached_property.py
index ec9bb2f5dae081f77ca164733bf296a901dffeef..9807777654f8a7b85bdebf8584baee23cad5e0b1 100644 (file)
@@ -2,14 +2,19 @@
 
 __author__ = 'Daniel Greenfeld'
 __email__ = 'pydanny@gmail.com'
-__version__ = '0.1.2'
+__version__ = '0.1.4'
 __license__ = 'BSD'
 
+import time
+
 
 class cached_property(object):
     """ A property that is only computed once per instance and then replaces
         itself with an ordinary attribute. Deleting the attribute resets the
-        property. """
+        property.
+
+        Source: https://github.com/bottlepy/bottle/commit/fa7733e075da0d790d809aa3d2f53071897e6f76
+        """
 
     def __init__(self, func):
         self.__doc__ = getattr(func, '__doc__')