Docs for treecache

pull/519/head
David Baker 2016-01-22 11:47:22 +00:00
parent 42eae4634f
commit eaa836e8ca
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,11 @@ SENTINEL = object()
class TreeCache(object):
"""
Tree-based backing store for LruCache. Allows subtrees of data to be deleted
efficiently.
Keys must be tuples.
"""
def __init__(self):
self.root = {}