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:
f61a481
)
Cleanup example.
author
Ionel Cristian Mărieș
<contact@ionelmc.ro>
Thu, 1 Oct 2015 12:55:53 +0000
(15:55 +0300)
committer
Ionel Cristian Mărieș
<contact@ionelmc.ro>
Thu, 1 Oct 2015 12:55:53 +0000
(15:55 +0300)
README.rst
patch
|
blob
|
history
diff --git
a/README.rst
b/README.rst
index b4856c989a68ae6d41f7cf3b1d4eb2a064b9d30b..73fcd0bbbb9a280646b6898659d7b8fb2ab90405 100644
(file)
--- a/
README.rst
+++ b/
README.rst
@@
-109,15
+109,12
@@
unfortunately causes problems with the standard ``cached_property``. In this cas
.. code-block:: python
- import threading
-
from cached_property import threaded_cached_property
class Monopoly(object):
def __init__(self):
self.boardwalk_price = 500
- self.lock = threading.Lock()
@threaded_cached_property
def boardwalk(self):