Object that enables you to modify attributes.
| 6 | |
| 7 | |
| 8 | class Bunch: |
| 9 | """Object that enables you to modify attributes.""" |
| 10 | |
| 11 | def __init__(self, **kwargs): |
| 12 | self.__dict__.update(kwargs) |
| 13 | |
| 14 | |
| 15 | def mro_lookup(cls, attr, stop=None, monkey_patched=None): |
no outgoing calls