diff options
author | Jay Hutchinson <jlhutch@gmail.com> | 2011-07-25 01:40:08 -0500 |
---|---|---|
committer | Jay Hutchinson <jlhutch@gmail.com> | 2011-07-25 01:40:08 -0500 |
commit | 5ea4a54bd03f1d7814fa0d24638b7b5260bb8901 (patch) | |
tree | ab9cbe78213422099b5012cc44fe3e9ffdcce023 /README.txt | |
parent | 57ce78406d76c0c2c26f7b4a938d06bb2379830e (diff) | |
download | pylru-5ea4a54bd03f1d7814fa0d24638b7b5260bb8901.tar.gz |
A key can now be None.v1.0.5
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -36,8 +36,6 @@ An lrucache object has a dictionary like interface and can be used in the same w # Lookup and insert both move the key/value to the most # recently used position. Delete (obviously) removes a # key/value from whatever position it was in. - # - # WARNING - keys can't be None key in cache # Test for membership. Does not affect the cache order. @@ -113,8 +111,6 @@ The WriteThroughCacheManager class takes as arguments the store object you want value = cached[key] # Lookup a value given its key. cached[key] = value # Insert a key/value pair. del cached[key] # Delete a value given its key. - # - # WARNING - keys can't be None key in cache # Test for membership. Does not affect the cache order. @@ -153,8 +149,6 @@ Similar to the WriteThroughCacheManager class except write-back semantics are us value = cached[key] # Lookup a value given its key. cached[key] = value # Insert a key/value pair. del cached[key] # Delete a value given its key. - # - # WARNING - keys can't be None key in cache # Test for membership. Does not affect the cache order. |