collections

Table of Contents

defaultdict

# A dict of indefinite depth elements
def tree():
    return defaultdict(tree)