Mercurial > hg > config
view python/namespace.py @ 647:8147f25af5f7
to textshaper
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 13 Mar 2014 13:54:03 -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)