annotate python/namespace.py @ 659:e5be32fea639

https://gist.github.com/lelandbatey/8677901
author Jeff Hammel <k0scist@gmail.com>
date Thu, 03 Apr 2014 11:53:23 -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)