class documentation

class PopulateDict(dict):

View In Hierarchy

A dict which populates missing values via a creation function.

Note the creation function takes a key, unlike collections.defaultdict.

Method __init__ Undocumented
Method __missing__ Undocumented
Instance Variable creator Undocumented
def __init__(self, creator):

Undocumented

def __missing__(self, key):

Undocumented

creator =

Undocumented