From: William Martin Stewart Date: Thu, 2 Apr 2015 22:56:22 +0000 (+0200) Subject: Fix typo in readme example X-Git-Tag: 1.1.0~3^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4023e36b57aea832dbef09771d97329294a2586;p=cached-property.git Fix typo in readme example --- diff --git a/README.rst b/README.rst index f63ecc3..e1b78e7 100644 --- a/README.rst +++ b/README.rst @@ -116,7 +116,7 @@ Sometimes you want the price of things to reset after a time. class Monopoly(object): - @cached_property(ttl=5) # cache invalidates after 10 seconds + @cached_property(ttl=5) # cache invalidates after 5 seconds def dice(self): # I dare the reader to implement a game using this method of 'rolling dice'. return random.randint(2,12)