Module Scientific.DictWithDefault


Class DictWithDefault: Dictionary with default values

Constructor: DictWithDefault(default)

Instances of this class act like standard Python dictionaries, except that they return a copy of default for a key that has no associated value.