view python/namespace.py @ 738:6833137f039c

typo
author Jeff Hammel <k0scist@gmail.com>
date Tue, 21 Apr 2015 18:46:50 -0700
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)