view python/namespace.py @ 733:aedba894203a

minor fixes
author Jeff Hammel <k0scist@gmail.com>
date Tue, 03 Feb 2015 14:51:27 -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)