annotate python/namespace.py @ 745:6194eec4e3b7

mv to example
author Jeff Hammel <k0scist@gmail.com>
date Sun, 28 Jun 2015 15:42:50 -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)