Permalink
Browse files

Fix expiring values example.

  • Loading branch information...
1 parent 8ec7ddf commit 40753ed7e16fe16bfeea51e00db0985e3186ba6c @forkingdata forkingdata committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rst
View
@@ -75,7 +75,7 @@ Setting values that expire
::
seconds = 5;
- locache.get("expiring_key", "expiring_value", seconds);
+ locache.set("expiring_key", "expiring_value", seconds);
// After 5 seconds this will return null.
locache.get("expiring_key");

0 comments on commit 40753ed

Please sign in to comment.