annotate python/namespace.py @ 729:fc4749433229

https://gist.github.com/adyliu/4494223
author Jeff Hammel <k0scist@gmail.com>
date Wed, 10 Dec 2014 10:08:31 -0800
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)