From: Artem Malyshev Date: Wed, 18 Nov 2015 07:04:40 +0000 (+0300) Subject: Correct invalidation cache documentation. X-Git-Tag: 1.3.0~7^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11c311c327a954a8006e58f69a5b88299630e5b5;p=cached-property.git Correct invalidation cache documentation. --- diff --git a/README.rst b/README.rst index 970b5f6..ea66c53 100644 --- a/README.rst +++ b/README.rst @@ -93,7 +93,7 @@ Results of cached functions can be invalidated by outside forces. Let's demonstr >>> monopoly.boardwalk 550 >>> # invalidate the cache - >>> del monopoly['boardwalk'] + >>> del monopoly.__dict__['boardwalk'] >>> # request the boardwalk property again >>> monopoly.boardwalk 600