Mercurial > hg > config
view python/namespace.py @ 683:ce95c61cb435
add viewer for graphviz; silly, but effective
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 17 May 2014 00:15:45 -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)