Lines Matching defs:attrdict
31 __all__ = [ 'attrdict', 'multiattrdict', 'optiondict' ]
33 class attrdict(dict):
38 return super(attrdict, self).__getattribute__(attr)
42 return super(attrdict, self).__setattr__(attr, value)
48 return super(attrdict, self).__delattr__(attr)
56 class multiattrdict(attrdict):
57 """Wrap attrdict so that nested attribute accesses automatically create
70 class optiondict(attrdict):
71 """Modify attrdict so that a missing attribute just returns None"""
79 x = attrdict()