From 73f5fdea2ed937aa132a47bfe14645a39b3bfb2b Mon Sep 17 00:00:00 2001 From: Daniel Greenfeld Date: Tue, 20 May 2014 09:12:18 -0700 Subject: [PATCH] Update README.rst --- README.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 78c6691..0d7d12e 100644 --- a/README.rst +++ b/README.rst @@ -113,7 +113,7 @@ What if a whole bunch of people want to stay at Boardwalk all at once? This mean import threading - from cached_property import cached_property + from cached_property import threaded_cached_property class Monopoly(object): @@ -133,6 +133,8 @@ What if a whole bunch of people want to stay at Boardwalk all at once? This mean self.boardwalk_price += 50 return self.boardwalk_price +Now use it: + .. code-block:: python >>> from threading import Thread @@ -158,4 +160,4 @@ Credits * My awesome wife `@audreyr`_ who created `cookiecutter`_, which meant rolling this out took me just 15 minutes. .. _`@audreyr`: https://github.com/audreyr -.. _`cookiecutter`: https://github.com/audreyr/cookiecutter \ No newline at end of file +.. _`cookiecutter`: https://github.com/audreyr/cookiecutter -- 2.30.2