annotate python/namespace.py @ 767:35f8751c0930

it is very annoying to have ones overrides overridden; see also http://stackoverflow.com/questions/25381304/why-type-cd-on-mac-os-states-that-cd-is-a-function
author Jeff Hammel <k0scist@gmail.com>
date Thu, 28 Jan 2016 14:02:17 -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)