Mercurial > hg > config
view python/namespace.py @ 781:6beceb826eb0
these are important
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 23 Aug 2016 15:30:42 -0700 |
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)