Correct invalidation cache documentation.
authorArtem Malyshev <proofit404@gmail.com>
Wed, 18 Nov 2015 07:04:40 +0000 (10:04 +0300)
committerArtem Malyshev <proofit404@gmail.com>
Wed, 18 Nov 2015 07:04:40 +0000 (10:04 +0300)
README.rst

index 970b5f6cce335f6ba2de5cd98af332a112c07381..ea66c53d0981b81282d0ffeeb0a76509d5935cb7 100644 (file)
@@ -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