dot.notation access to dictionary attributes
| 34 | |
| 35 | # Python is retarded. |
| 36 | class dotdict(dict): |
| 37 | """dot.notation access to dictionary attributes""" |
| 38 | __getattr__ = dict.get |
| 39 | __setattr__ = dict.__setitem__ |
| 40 | __delattr__ = dict.__delitem__ |
| 41 | |
| 42 | |
| 43 | # Pack name, description, and avatar into a theCard. |
no outgoing calls
no test coverage detected
searching dependent graphs…