Mercurial > hg > config
view python/namespace.py @ 727:03b66f90916f
works
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 02 Dec 2014 13:59:37 -0800 |
parents | 0a979b847461 |
children |
line wrap: on
line source
class Namespace(object): def __init__(self, **kwargs): for key, value in kwargs.items(): setattr(self, key, value)