annotate python/namespace.py @ 796:892b53d86ff5

this was mostly a note to self; never used
author Jeff Hammel <k0scist@gmail.com>
date Fri, 28 Oct 2016 10:42:49 -0700
parents 0a979b847461
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
588
0a979b847461 STUB: python/namespace.py
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 class Namespace(object):
0a979b847461 STUB: python/namespace.py
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2 def __init__(self, **kwargs):
0a979b847461 STUB: python/namespace.py
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
3 for key, value in kwargs.items():
0a979b847461 STUB: python/namespace.py
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
4 setattr(self, key, value)