From 11c311c327a954a8006e58f69a5b88299630e5b5 Mon Sep 17 00:00:00 2001 From: Artem Malyshev Date: Wed, 18 Nov 2015 10:04:40 +0300 Subject: [PATCH] Correct invalidation cache documentation. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2