Skip to content
Snippets Groups Projects
Commit eaa836e8 authored by David Baker's avatar David Baker
Browse files

Docs for treecache

parent 42eae463
No related branches found
Tags v1.62.0rc2
No related merge requests found
...@@ -2,6 +2,11 @@ SENTINEL = object() ...@@ -2,6 +2,11 @@ SENTINEL = object()
class TreeCache(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): def __init__(self):
self.root = {} self.root = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment