From: Ionel Cristian Mărieș Date: Thu, 1 Oct 2015 12:55:53 +0000 (+0300) Subject: Cleanup example. X-Git-Tag: 1.3.0~9^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57dec65184a9020dd1a6fb3dac0976af55da2996;p=cached-property.git Cleanup example. --- diff --git a/README.rst b/README.rst index b4856c9..73fcd0b 100644 --- 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):