projects
/
cached-property.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7fe698
)
Fix typo in readme example
author
William Martin Stewart
<zoidbergwill@gmail.com>
Thu, 2 Apr 2015 22:56:22 +0000
(
00:56
+0200)
committer
William Martin Stewart
<zoidbergwill@gmail.com>
Thu, 2 Apr 2015 22:56:22 +0000
(
00:56
+0200)
README.rst
patch
|
blob
|
history
diff --git
a/README.rst
b/README.rst
index f63ecc37ad904b8d9a398f4ec508cb606763765c..e1b78e7328c10fa5e138c654162de0e66ba9ccf8 100644
(file)
--- 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)