view python/namespace.py @ 765:b8ac41eda8ee

what it should be maybe
author Jeff Hammel <k0scist@gmail.com>
date Fri, 15 Jan 2016 21:34:50 -0800
parents 0a979b847461
children
line wrap: on
line source

class Namespace(object):
    def __init__(self, **kwargs):
        for key, value in kwargs.items():
            setattr(self, key, value)