1. Dan Connolly
  2. quacken

Source

quacken / finquick / finquick / dotdict.py

The default branch has multiple heads

1
2
3
4
5
6
7
8
9
class dotdict(dict):
    '''
    ack: Darugar Oct 2008
    http://parand.com/say/index.php/2008/10/24/python-dot-notation-dictionary-access/
    '''
    def __getattr__(self, attr):
        return self.get(attr, None)
    __setattr__= dict.__setitem__
    __delattr__= dict.__delitem__